AnsweredAssumed Answered

Create a document details link on a custom share page

Question asked by pchoe on Mar 27, 2014
Latest reply on Mar 28, 2014 by pchoe
I am creating a reporting page for workflow.

It is document based, meaning that I'll get the workflows that are attached to the documents.  I want to make the name of the document that is displayed a link to the document details page, just like the document library.

I was trying to figure out how the document library does it, but I am stuck.

I see the Alfresco.DocumentList.generateFileFolderLinkMarkup in the documentlist.js file.  But I don't know how to get the scope and report parameter passed to the function.

Ideally, I would like to call the Alfresco.DocumentList.generateFileFolderLinkMarkup function from my ftl page that renders the workflow report.

Can anyone give me a pointer on how to get the scope and report objects passed to the javascript function?