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

foundation-picker touch ui replacing Deprecate Coral 3 pathbrowser

Avatar

Level 7

Hi ,

As per the documentation Deprecated and Removed Features

AEM 6.3 Upgrade - Deprecated Components List

The coral 3 pathbrowser is Deprecated.  so the path link will be

  1. /libs/granite/ui/components/coral/foundation/form/pathbrowser

Now can some please provide any sample code that we could use foundation-picker as replacing pathbrowser

I was looking into the documentation of Picker — Granite UI 1.0 documentation

But that does not provide any real sample code.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Change only sling:resourceType other properties would be same,

sling:resourceType="cq/gui/components/common/pathbrowser"

View solution in original post

4 Replies

Avatar

Community Advisor

Hi,

You can use founder picker like coral3 picker

the resource available at

/libs/cq/gui/components/common/pathbrowser

Avatar

Level 7

Hi,

Isn't the foundation picket must resource type as /libs/granite/ui/components/coral/foundation/picker  ??

Could you please help on the below If the path browser had the below code what will be equivalent

<path

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"

                                            fieldDescription="Select Path"

                                            fieldLabel="Path"

                                            name="./path"

                                            rootPath="/content"/>

Thanks

Avatar

Correct answer by
Community Advisor

Hi,

Change only sling:resourceType other properties would be same,

sling:resourceType="cq/gui/components/common/pathbrowser"