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

AEM 6.5 RichText inside multifield not retaining the authored values.

Avatar

Avatar
Validate 1
Level 1
malaya_ranjand4
Level 1

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
malaya_ranjand4
Level 1

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
malaya_ranjand4
Level 1

13-05-2020

Hi All,

Facing one issue in richtext under mutifield in AEM6.5 .

When we authored anything inside richtext that is under mutifield and saving the dialog.

malaya_ranjand4_0-1589357962523.png

Now after saving the dialog again if we open the dialog and we can see the value that we have given in richtext field is not present. Richtext box is blank.

 

malaya_ranjand4_1-1589358070782.png

As we can see from the above one, on the first hit we gave some inputs to richtext after saving, and again opening the dialog we cant see the value that we have entered.

Can anyone please help me to retain the value even after opening the dialog. (Richtext under multifield)

@kautuk_sahni @Arun_Patidar @Vish_dhaliwal @Andrew_Khoury @BrianKasingli 

 

AEM 6.5 multifield Richtext touch-ui Touchui dialog
View Entire Topic

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

151 likes

Total Posts

363 posts

Correct Reply

56 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

151 likes

Total Posts

363 posts

Correct Reply

56 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

13-05-2020

Could you please add your dialog here .

As its working fine for me in AEM 6.5.

malaya_ranjand4
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="nt:unstructured" jcr:title="Promotions Blade" sling:resourceType="cq/gui/components/authoring/dialog"> <content jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/container" class="richtextfullscreen"> <layout jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/layouts/tabs" type="nav"/> <items jcr:primaryType="nt:unstructured"> <tab1 jcr:primaryType="nt:unstructured" jcr:title="Content" sling:resourceType="granite/ui/components/foundation/section"> <layout jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"/> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/container"> <items jcr:primaryType="nt:unstructured"> <fieldset jcr:primaryType="nt:unstructured" jcr:title="" sling:resourceType="granite/ui/components/foundation/form/fieldset"> <layout jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"/> <items jcr:primaryType="nt:unstructured"> <promotionItems jcr:primaryType="nt:unstructured" jcr:title="Items" sling:resourceType="granite/ui/components/foundation/section"> <layout jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns" margin="{Boolean}true"/> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/container"> <items jcr:primaryType="nt:unstructured"> <itemmultifield jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/multifield" class="full-width" eaem-nested="" fieldLabel="Items"> <field jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/fieldset" name="./contentMulti"> <layout jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns" method="absolute"/> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/container" fieldLabel="Items"> <items jcr:primaryType="nt:unstructured"> <title jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/textfield" fieldDescription="Under 45 characters recommended" fieldLabel="Title" name="./title" required="false"/> <description jcr:primaryType="nt:unstructured" sling:resourceType="cq/gui/components/authoring/dialog/richtext" fieldDescription="Under 140 characters recommended" fieldLabel="Description" name="./description" useFixedInlineToolbar="{Boolean}true"> <rtePlugins jcr:primaryType="nt:unstructured" features="*"> <edit jcr:primaryType="nt:unstructured" features="[paste-wordhtml]" name="edit"> <htmlPasteRules jcr:primaryType="nt:unstructured"> <allowBasics jcr:primaryType="nt:unstructured" anchor="{Boolean}true" bold="{Boolean}true" image="{Boolean}true" italic="{Boolean}true" underline="{Boolean}true"/> </htmlPasteRules> </edit> <findreplace jcr:primaryType="nt:unstructured" features="*" name="findreplace"/> <format jcr:created="{Date}2011-05-25T18:49:56.487+05:30" jcr:createdBy="admin" jcr:primaryType="nt:unstructured" features="[bold,italic,underline]" name="format"/> <image jcr:primaryType="nt:unstructured" features="*" name="image"/> <justify jcr:primaryType="nt:unstructured" features="*" name="justify"/> <keys jcr:primaryType="nt:unstructured" name="keys" tabSize="4"/> <links jcr:primaryType="nt:unstructured" features="*" name="links"/> <lists jcr:primaryType="nt:unstructured" features="[ordered,unordered]" name="lists"/> <misctools jcr:primaryType="nt:unstructured" features="[specialchars]" name="misctools"> <specialCharsConfig jcr:primaryType="nt:unstructured"> <chars jcr:primaryType="nt:unstructured"> <copyright jcr:primaryType="nt:unstructured" entity="&amp;#169;"/> <half jcr:primaryType="nt:unstructured" entity="&amp;#189;"/> <registred jcr:primaryType="nt:unstructured" entity="&amp;#174;"/> <trademark jcr:primaryType="nt:unstructured" entity="&amp;#8482;"/> <carat jcr:primaryType="nt:unstructured" entity="&amp;#8250;"/> </chars> </specialCharsConfig> </misctools> <paraformat jcr:primaryType="nt:unstructured" features="*" name="paraformat"> <formats jcr:primaryType="cq:WidgetCollection"> <myheading jcr:primaryType="nt:unstructured" description="Header-Intel Clear" tag="h1"/> <myparagraph jcr:primaryType="nt:unstructured" description="Paragraph" tag="p"/> <myblockquote jcr:primaryType="nt:unstructured" description="Blockquote" tag="blockquote"/> </formats> </paraformat> <spellcheck jcr:primaryType="nt:unstructured" features="*" name="spellcheck"/> <subsuperscript jcr:primaryType="nt:unstructured" features="*" name="subsuperscript"/> </rtePlugins> <uiSettings jcr:primaryType="nt:unstructured"> <cui jcr:primaryType="nt:unstructured"> <inline jcr:primaryType="nt:unstructured" toolbar="[#edit,format#bold,format#italic,format#underline,#justify,-,#lists,-,links#modifylink,links#unlink,links#anchor,-,-,#paraformat,-,#styles,-,edit#cut,edit#copy,edit#paste-plaintext,edit#paste-default,edit#paste-wordhtml,-,undo#undo,undo#redo,-,findreplace#find,findreplace#replace,-,spellcheck#checktext,-,misctools#sourceedit,misctools#specialchars,-,table#createoredit,subsuperscript#superscript,subsuperscript#subscript]"> <popovers jcr:primaryType="nt:unstructured"> <paraformat jcr:primaryType="nt:unstructured" items="paraformat:getFormats:paraformat-pulldown" ref="paraformat"/> <lists jcr:primaryType="nt:unstructured" items="[lists#unordered,lists#ordered,lists#outdent,lists#indent]" ref="lists"/> <justify jcr:primaryType="nt:unstructured" items="[justify#justifyleft,justify#justifycenter,justify#justifyright]" ref="justify"/> <findreplace jcr:primaryType="nt:unstructured" items="[findreplace#find,findreplace#replace]" ref="findreplace"/> </popovers> </inline> <dialogFullScreen jcr:primaryType="nt:unstructured" toolbar="[#edit,format#bold,format#italic,format#underline,#justify,-,#lists,-,links#modifylink,links#unlink,links#anchor,-,-,#paraformat,-,#styles,-,edit#cut,edit#copy,edit#paste-plaintext,edit#paste-default,edit#paste-wordhtml,-,undo#undo,undo#redo,-,findreplace#find,findreplace#replace,-,spellcheck#checktext,-,misctools#sourceedit,misctools#specialchars,-,table#createoredit,subsuperscript#superscript,subsuperscript#subscript,-,fullscreen#start,useFixedInlineToolbar=true]"> <popovers jcr:primaryType="nt:unstructured"> <paraformat jcr:primaryType="nt:unstructured" items="paraformat:getFormats:paraformat-pulldown" ref="paraformat"/> <lists jcr:primaryType="nt:unstructured" items="[lists#unordered,lists#ordered,lists#outdent,lists#indent]" ref="lists"/> <justify jcr:primaryType="nt:unstructured" items="[justify#justifyleft,justify#justifycenter,justify#justifyright]" ref="justify"/> <findreplace jcr:primaryType="nt:unstructured" items="[findreplace#find,findreplace#replace]" ref="findreplace"/> </popovers> </dialogFullScreen> </cui> </uiSettings> <htmlRules jcr:primaryType="nt:unstructured"> <blockHandling jcr:primaryType="nt:unstructured" removeSingleParagraphContainer="{Boolean}true"/> </htmlRules> </description> </items> </column> </items> </field> </itemmultifield> </items> </column> </items> </promotionItems> </items> </fieldset> </items> </column> </items> </tab1> </items> </content> </jcr:root>
Ankur_Khare
I have already added the node with multifield compare with that it should work.
malaya_ranjand4
Please let me know the root cause of this issue.
Ankur_Khare
Your rte structure is wrong compare with the one i posted