foundation-picker touch ui replacing Deprecate Coral 3 pathbrowser | Community
Skip to main content
srinivas_chann1
Level 7
July 12, 2019
Solved

foundation-picker touch ui replacing Deprecate Coral 3 pathbrowser

  • July 12, 2019
  • 4 replies
  • 1221 views

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

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,

Change only sling:resourceType other properties would be same,

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

4 replies

arunpatidar
Community Advisor
Community Advisor
July 12, 2019

Hi,

You can use founder picker like coral3 picker

the resource available at

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

Arun Patidar
srinivas_chann1
Level 7
July 15, 2019

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

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 15, 2019

Hi,

Change only sling:resourceType other properties would be same,

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

Arun Patidar
srinivas_chann1
Level 7
July 16, 2019

Thanks