Expand my Community achievements bar.

SOLVED

foundation-picker touch ui replacing Deprecate Coral 3 pathbrowser

Avatar

Level 8

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"



Arun Patidar

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



Arun Patidar

Avatar

Level 8

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"



Arun Patidar