Customization of Pathbrowser browse functionality | Community
Skip to main content
manoj68850981
Level 2
June 5, 2018
Solved

Customization of Pathbrowser browse functionality

  • June 5, 2018
  • 4 replies
  • 2985 views

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.
Best answer by arunpatidar

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

4 replies

smacdonald2008
Level 10
June 5, 2018

Does this article help you in this use case?

manoj68850981
Level 2
June 5, 2018

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

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 5, 2018

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
manoj68850981
Level 2
June 30, 2018

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