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
BedrockMission!

Learn More

View all

Sign in to view all badges

Touch UI - Reuse Dialog Field

Avatar

Avatar
Validate 10
Level 2
aemd25900338
Level 2

Likes

10 likes

Total Posts

41 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 2
aemd25900338
Level 2

Likes

10 likes

Total Posts

41 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
aemd25900338
Level 2

06-04-2017

I want to reuse the dialog field from one of the existing component in another component in AEM 6.2 Touch UI.

I know it can be done in Classic UI using xtype=cq:include. Is there a way to solve this problem in Touch UI?

TIA

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct Reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct Reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
MVP

06-04-2017

Hi,

Yes, In Touch UI , there is resourceType "granite/ui/components/foundation/include" which is equivalent of cqinclude of classic UI.

Same as classic UI , there is path property whose value is equal to the path which you want to reuse. For ex: you want to reuse the dialog part "/apps/myproject/components/component1/cq:dialog/content/items/tabs/items/advanced" then this is the value to be used for path property. Do make sure not to use ".infinity.json" as it is not required in Touch UI dialogs.

Hope this helps!

Thank you!

Nupur

Answers (4)

Answers (4)

Avatar

Avatar
Boost 1
Level 1
pankajc20481189
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile

Avatar
Boost 1
Level 1
pankajc20481189
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
pankajc20481189
Level 1

27-12-2017

I have use granite/ui/components/foundation/include to reuse tab in the dialog box. But I want one of the field inside that dialog tab to be different than the one I am getting. Is there any way to do that?

Avatar

Avatar
Seeker
Level 2
Rajalakshmi
Level 2

Likes

8 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Seeker
Give Back 3
Give Back
Engage 1
Boost 5
View profile

Avatar
Seeker
Level 2
Rajalakshmi
Level 2

Likes

8 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Seeker
Give Back 3
Give Back
Engage 1
Boost 5
View profile
Rajalakshmi
Level 2

06-11-2020

Hi @Nupur_Jain , we can able to reuse only the dialog fields using this solution. But can we reuse the authored values of one component to other reused components, so we don't need to do authoring for all similar reused components multiple times. Is there any solution in AEM 6.5 and can you help in this.

 

Thanks.

Avatar

Avatar
Validate 25
Level 4
Kkkrish
Level 4

Likes

27 likes

Total Posts

107 posts

Correct Reply

1 solution
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
Kkkrish
Level 4

Likes

27 likes

Total Posts

107 posts

Correct Reply

1 solution
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Kkkrish
Level 4

06-02-2018

Me to having this use case, Will it be possible to achieve for hiding some properties or child nodes by include usage?

Avatar

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

158 likes

Total Posts

755 posts

Correct Reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

158 likes

Total Posts

755 posts

Correct Reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ratna_Kumar
MVP

06-04-2017

Hi

Yes Nupur is right, you can use resourceType as "granite/ui/components/foundation/include" where we use in Classic UI as xtype: cqinclude

Also, in Touch UI, do not use ".infinity.json" as it is not needed. See this below old thread that discusses the same.

//http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage....

See this example OOTB snippet in this location /libs/wcm/foundation/components/page/cq:dialog/content/items/tabs/items/basic

Hope this helps

~ Ratna.