Expand my Community achievements bar.

SOLVED

Multifield Data is not loading into dialog

Avatar

Level 2

Having a multifiled component when we open the dialog the content is not loading into the dialog it is showing empty. But the data is present in node level as json. How we can make it work if we convert data into node the existing data is not showing. How to overcome this issue.

sudeepKonjeti_0-1724220745466.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

Hi @sudeepKonjeti ,

 

A few questions,

 

1. Have you migrated the component to Coral UI 3? If yes, have you added composite{Boolean} true property to the widget?

2. If above is true you should see multifield data in form of nodes and not as JSON.

3. If the data stored in JCR is still JSON format you need to convert it to JCR nodes. Please refer to the documentation provided by Arun in the thread.

 

Thanks.

Avatar

Community Advisor

Hi @sudeepKonjeti 

  1. The composite attribute should be true if you’re storing multiple fields within each item.
  2. Make sure the name properties for the fields within the multifield are prefixed correctly (e.g., ./fieldName).

Avatar

Administrator

@sudeepKonjeti Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni