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

Moving from pathbrowser to pathfield

AEMnewbie
Level 4
Level 4

We had a recent requirement to select multiple selections, instead of single selection . Since pathbrowser does not support multiple selection and is a coral2/deprecated component , we decided to move to pathfield . 2 main features that are missing are hover over the column item does not give the column name and selecting it does not give a preview option .. Is there any reason why this 2 critical feature were removed from pathfield .. And is there an easy way to set them up for pathfield by just adding some property?

1 Accepted Solution
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @AEMnewbie 

 

PathField supports the concept of suggestion where the list of options are presented based on what the user types. It also supports the concept of picker where the user allows to pick the value in more advanced way (usually implemented as a dialog showing a tree view).

 

Pathbrowser - It should be used to pick assets. It allows previewing resource.
Pathfield - It should be used to pick link target for href, wherever you don't need to browse/see resource preview.

 

Coral 2 - granite/ui/components/coral/foundation/form/pathbrowser
Coral 3 - granite/ui/components/coral/foundation/form/pathfield

 

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

 

Thanks!

View solution in original post

2 Replies
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @AEMnewbie 

 

PathField supports the concept of suggestion where the list of options are presented based on what the user types. It also supports the concept of picker where the user allows to pick the value in more advanced way (usually implemented as a dialog showing a tree view).

 

Pathbrowser - It should be used to pick assets. It allows previewing resource.
Pathfield - It should be used to pick link target for href, wherever you don't need to browse/see resource preview.

 

Coral 2 - granite/ui/components/coral/foundation/form/pathbrowser
Coral 3 - granite/ui/components/coral/foundation/form/pathfield

 

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

 

Thanks!

View solution in original post

Umesh_Thakur
Community Advisor
Community Advisor

I. don't think so we have any option provided out of the box to handle your requriment.

then only way you have is, use javascript or jquery to create that feature in your dialog.

Hope this will help.

Umesh Thakur