I currently have navigation component that I need to split into three navigation sections. Unfortunately, the properties from the dialog will still be used in all sections. Is there anyway I can pull the properties from one component in another? I would like to avoid having duplicate dialogs.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
If you want to pull the properties from one dialog of component to other, you can use in below way.
xtype: cqinclude
path: /libs/foundation/components/carousel/dialog/items/carousel/items/playSpeed.infinity.json
See this below community article which discusses your use case:
//https://helpx.adobe.com/experience-manager/kb/XtypeCqInclude.html
Also, look into this thread discusses the same:
Hope this helps!
~ Ratna.
Views
Replies
Total Likes
joey leung wrote...
I currently have navigation component that I need to split into three navigation sections. Unfortunately, the properties from the dialog will still be used in all sections. Is there anyway I can pull the properties from one component in another? I would like to avoid having duplicate dialogs.
You can use sling:resourceSuperType. Lets say if you want to use the componentA dialog in componentB. Then you would need to add the below property to the componentB node.
name: sling:resourceSuperType
type: String
Value: /apps/[YOURPROJECT]/components/content/componentA
Views
Replies
Total Likes
Hi,
If you want to pull the properties from one dialog of component to other, you can use in below way.
xtype: cqinclude
path: /libs/foundation/components/carousel/dialog/items/carousel/items/playSpeed.infinity.json
See this below community article which discusses your use case:
//https://helpx.adobe.com/experience-manager/kb/XtypeCqInclude.html
Also, look into this thread discusses the same:
Hope this helps!
~ Ratna.
Views
Replies
Total Likes