cancel
Showing results for 
Search instead for 
Did you mean: 

customize to show only documentLibrary documents list

lordzoster
Champ in-the-making
Champ in-the-making
Hallo
I'm looking for a way to a hands-on approach to Share UI customization, starting from a very definite aim: to create a page which shows to the user the "document list" only of a site's documentLibrary, the one red-bordered in the attached screenshot.

UPDATE: as from my last searches, in relation to this post by Dave Draper, I'm starting from a webscript whose controller looks like

model.jsonModel = {
   widgets: [{
      name: "alfresco/documentLibrary/AlfDocumentList”
   }]
};

But another question is: how should I specify which site to show the documents for?
How could I handle the id of the site?
thanks in advance
2 REPLIES 2

ddraper
World-Class Innovator
World-Class Innovator
Hi,

The code you've pasted is actually relating to a non-production quality beta version of a forthcoming Document Library. If you want to just display the actual DocumentList part of the Document Library then you should just create an extension to hide the other components (for filters, tree, categories and tags, etc). See this blog post for info on hiding components: http://blogs.alfresco.com/wp/developer/2011/07/27/how-to-hide-content-on-an-existing-alfresco-share-...

That's assuming you working within the existing Alfresco Share application - even if you're creating something from scratch, I'd still advise you to use the old Document Library code for the time being until the new code is completely ready and supported,

Regards,
Dave

lordzoster
Champ in-the-making
Champ in-the-making
Thank you Dave, resourceful as usual! Smiley Happy