Hello All,
Core button component Link field is of type: granite/ui/components/coral/foundation/include
When we author button path it only shows content pages like below:
We have a requirement to show both content and DAM path here. I tried adding jcr property nodeTypes="dam:Asset, nt:file, cq:Page" to link field but its not working. I saw Richtext component pathfield shows both content and DAM path as below:
We want something like this. Is this possible in Core Button v2 component?
Solved! Go to Solution.
Hi @supriya-hande
The type itself says pagefield, so you can't fetch the assets.
sling:resourceType="cq/gui/components/coral/common/form/pagefield"
you can extend button and link component and change the type to formal pathfield and use new link type
Hi @supriya-hande
The type itself says pagefield, so you can't fetch the assets.
sling:resourceType="cq/gui/components/coral/common/form/pagefield"
you can extend button and link component and change the type to formal pathfield and use new link type
Views
Likes
Replies
Views
Likes
Replies