Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Touch Ui Dialog Box is not persisting content

Avatar

Level 1

I have Included  button component(use any component) in template level using sightly.

like

body.html

      <div data-sly-resource="${'button' @ resourceType='TestProject/components/content/button'}"></div>

Created new page of this template. Open the page in touch Ui. i am able to see the "button" component on page.

open the dialog box in touch ui. fill and submit the dialog box. The dialog box content is not persisted(button node is not created)

But if i drag and drop this "Button" component in parsys. i am able to persist the dialog content successfully.

Is anyone know how to resolve this touch ui dialog box persistence issue.

1 Accepted Solution

Avatar

Correct answer by
Level 1

You are missing path attribute. Please use below syntax.

<div data-sly-resource="${@ path='button', resourceType='TestProject/components/content/button'}"></div>

View solution in original post

3 Replies

Avatar

Level 2

What Adobe software are you using? You've posted in the Forum comments forum (which is for issues with these forums themselves). If you let us know what you're working with, a moderator can move your post to the right forum to get help.

Avatar

Correct answer by
Level 1

You are missing path attribute. Please use below syntax.

<div data-sly-resource="${@ path='button', resourceType='TestProject/components/content/button'}"></div>