RTE in multicomposite field | Community
Skip to main content
New Participant
September 6, 2017
Solved

RTE in multicomposite field

  • September 6, 2017
  • 5 replies
  • 3029 views

I am trying to create a multicomposite field with an RTE. The issue I am facing is that the rte is not retaining the previously authored values in dialog.

Please suggest some workaround for this issue .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

It does work - see pic:

What you need to do is follow this article -- Creating an AEM HTML Template Language 6.3 component that uses a Multifield

Make sure that you install the ACS-Commons as described in this article and get it working. THen you can add a RTE node in the dialog.

You will notice that the RTE data is stored in JSON under the page - as shown here:

I will attach a new package to the MF article that contains a working MF with A RTE.

5 replies

chats007
New Participant
March 20, 2018

Yes, we can store in NODE structure,  just add "acs-commons-nested=(String) NODE_STORE" property to field node(which has sling:resourceType: granite/ui/components/foundation/form/fieldset)

New Participant
September 8, 2017

Thank you so much for the response. I tried this and it did work. I have one more query. I find that this stores values in JSON structure. Can we achieve this in NODE Store ?

New Participant
September 8, 2017

Thanks you so much for the response. I tried this and it did work. I have one more query. I find that this stores values in JSON structure. Can we achieve this in NODE Store ?

smacdonald2008
smacdonald2008Accepted solution
New Participant
September 6, 2017

It does work - see pic:

What you need to do is follow this article -- Creating an AEM HTML Template Language 6.3 component that uses a Multifield

Make sure that you install the ACS-Commons as described in this article and get it working. THen you can add a RTE node in the dialog.

You will notice that the RTE data is stored in JSON under the page - as shown here:

I will attach a new package to the MF article that contains a working MF with A RTE.

smacdonald2008
New Participant
September 6, 2017

I am testing this use case this morning - I will post back my findings.