Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

AEM6.3 touch ui coral images don't show up on touch ui

Avatar

Level 8

Hi,

I am using AEM6.3 ,we are using both touch and classic dialogs

When i am author the images in touch ui dialog , cannot preview the same images in classic dialog.The reason is that classic dialog adds additional property  in content while authoring   sling:resourceType String foundation/components/image

But touch ui does not add the above property in content.

Please let me know how could i add the additional sling:resourceType property on while authoring in touch ui .

Below is the  component i am using in coral

<image

                                        jcr:primaryType="nt:unstructured"

                                        sling:resourceType="cq/gui/components/authoring/dialog/fileupload"

                                        autoStart="{Boolean}false"

                                        class="cq-droptarget"

                                        fileNameParameter="./image/fileName"

                                        fileReferenceParameter="./image/fileReference"

                                        mimeTypes="[image]"

                                        multiple="{Boolean}false"

                                        name="./image/file"

                                        required="{Boolean}false"

                                        title="Upload Image Asset"

                                        uploadUrl="/tmp/upload/*"

                                        useHTML5="{Boolean}true"/>

Thanks

0 Replies