I have to build a functionality in which user will click on a button and this button should show a popup. On this popup I need to show content from UCM. Content should be hierarchical and user should be able to navigate within folders. User will select one particular document and then click OK button on popup. On OK button we need to retrieve selected document and then get its content-id and store it in our custom tables.
Search popup is very much similar to 'Folder viewer' taskflow provided as document service. I want to use it but I have to integrate my custom functionality on it. Like selecting a record and clicking OK button should give me which content is selected by end user. Is there any way I can achieve it?
Can I use content presenter to show hierarchical data?
I recommend you use JCR Data Control to display"Hierarchical" folders / contents.
Your functionality can be easily implemented using af:popup/dialog with "Dialog Event and returnListener" of af:popup.
I hope this tips help you.