AnsweredAssumed Answered

how to use AlfDocumentList.js

Question asked by boneill on Oct 21, 2013
Latest reply on Oct 22, 2013 by ddraper
Hi Guys,

I have been trying to get my head around the new share customisation framework using dojo modules.

Included in framework are a number of widgets for Document Library display.  I cannot find any documentation or examples on how to include a AlfDocumentList widget on a new page.  I have read all of david drapers blogs on the new framewok but there is nothing I can find on how to get this up and running.  Having read the js files and tried to add the widget to a page I am stuck.  If anyone has any idea on how to work with the document library widgets and perhaps an example that would be fantastic.  Thanks in advance.

my widget include so far:

model.jsonModel = {
   widgets: [
         name: "alfresco/documentlibrary/AlfDocumentList",
         config:{label:"List", viewMap:[{name: "alfresco/documentlibrary/views/AlfSimpleView"}],
            widgets:[{name: "alfresco/documentlibrary/views/AlfSimpleView"}]