Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Customization of Pathbrowser browse functionality

manoj68850981
Level 2
Level 2

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 ...

Thanks in advance.

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

Hi,

You can define rootPath as a property for pathfield or pathbrowser coral3 field types like below:

Screen Shot 2018-06-05 at 9.02.16 PM.png

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

View solution in original post

4 Replies
smacdonald2008
Level 10
Level 10

Does this article help you in this use case?

manoj68850981
Level 2
Level 2

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

Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

Hi,

You can define rootPath as a property for pathfield or pathbrowser coral3 field types like below:

Screen Shot 2018-06-05 at 9.02.16 PM.png

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

View solution in original post

manoj68850981
Level 2
Level 2

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