We have a requirement to display asset references or folder and image structure in pathbrowser browse window.
The folder structure is dynamic and usually will be having folder>images structure. We need to either show or display this structure in the browse or select path dialog.
We have referred the below link.
Thanks in advance.
Solved! Go to Solution.
Hi,
You can define rootPath as a property for pathfield or pathbrowser coral3 field types like below:
It will allow you to open root folder for browse as specified.
You can check more info below:
PathField — Granite UI 1.0 documentation
Thanks
Arun
Views
Replies
Total Likes
Does this article help you in this use case?
Views
Replies
Total Likes
Hi Scott,
We are constructing a custom structure which is not available under the /content. But we wanted to see if it's possible to point the custom structure along with the /content data in the ui front of select path dialog. So with this link we were not able to do so
Thanks
Manoj
Views
Replies
Total Likes
Hi,
You can define rootPath as a property for pathfield or pathbrowser coral3 field types like below:
It will allow you to open root folder for browse as specified.
You can check more info below:
PathField — Granite UI 1.0 documentation
Thanks
Arun
Views
Replies
Total Likes
Yes specifying rootPath will pick specific content. In our use case we had to manipulate the data which was shown in the selection dialog box. I was able to do so by overlaying the pathbrowsercolumn.jsp file and customize it to our requirements. This is the file responsible for populating the data in the pathbrowser.
Overlay Path: /apps/cq/gui/components/common/pathbrowser/pathbrowsercolumn/pathbrowsercolumn.jsp
Actual Path: /libs/cq/gui/components/common/pathbrowser/pathbrowsercolumn/pathbrowsercolumn.jsp
Thanks,
Manoj
Views
Like
Replies
Views
Likes
Replies
Views
Like
Replies