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

How to reuse custom Text(RTE) Component in dialog

Avatar

Avatar
Validate 10
Level 1
pillaivinit
Level 1

Likes

0 likes

Total Posts

30 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 10
Level 1
pillaivinit
Level 1

Likes

0 likes

Total Posts

30 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Applaud 5
Affirm 1
View profile
pillaivinit
Level 1

09-12-2020

I have create a custom RTE component with my own set of plugins in AEM 6.3. It works when used on a page.

Now I have a requirement top use text component in dialog where I want reuse my RTE component

Referred this blog for using default text component.

I tried to use my component by writing the below code in cq_dialog xml but it doesn't work

<description
jcr:primaryType="nt:unstructured"
sling:resourceType="/apps/my-project/components/general/text/cq:dialog/content/items/text/items/column/items/text"
fieldLabel="Description"
required="{Boolean}true"
name="./description">
<rtePlugins
jcr:primaryType="nt:unstructured"
sling:resourceSuperType="/apps/my-project/components/general/text/cq:dialog/content/items/text/items/column/items/text/rtePlugins"/>
<uiSettings
jcr:primaryType="nt:unstructured"
sling:resourceSuperType="/apps/my-project/components/general/text/cq:dialog/content/items/text/items/column/items/text/uiSettings"/>

</description>

 Any suggestions ?

View Entire Topic

Avatar

Avatar
Springboard
MVP
Suraj_Kamdi
MVP

Likes

142 likes

Total Posts

155 posts

Correct Reply

41 solutions
Top badges earned
Springboard
Validate 1
Establish
Contributor
Ignite 3
View profile

Avatar
Springboard
MVP
Suraj_Kamdi
MVP

Likes

142 likes

Total Posts

155 posts

Correct Reply

41 solutions
Top badges earned
Springboard
Validate 1
Establish
Contributor
Ignite 3
View profile
Suraj_Kamdi
MVP

09-12-2020

@pillaivinit 
Use 

sling:resourceSuperType="/apps/..../text/cq:dialog/content/items/text/items/column/items/text"
sling:resourceType="cq/gui/components/authoring/dialog/richtext"