Customization of Pathbrowser browse functionality | Community
Skip to main content
manoj68850981
Level 2
Jun 5, 2018 2:49 PM UTC
Solved

Customization of Pathbrowser browse functionality

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.

Experiencing Adobe Experience Manager - Day CQ: AEM 62 - Touch UI extend Path Browser picker window to show file name (n…

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jun 5, 2018 7:06 PM UTC

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

Arun Patidar

4 replies

manoj68850981
Level 2
Jun 30, 2018 5:41 PM UTC

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

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jun 5, 2018 7:06 PM UTC

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

Translate
Arun Patidar
manoj68850981
Level 2
Jun 5, 2018 6:40 PM UTC

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

Translate
smacdonald2008
Level 10
Jun 5, 2018 3:33 PM UTC

Does this article help you in this use case?

Translate