Multi field rich text not allowing fragment reference | Community
Skip to main content
New Participant
Jan 31, 2023 9:08 PM UTC
Solved

Multi field rich text not allowing fragment reference

Why can't I embed a fragment reference in a multi-line text field when rendered as multi-field? 

I'm able to embed a fragment reference when the multi line text is rendered as "text area." Why allow me the ability to select "Allow fragment reference" if I cannot actually utilize this when "multi field" is selected?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ChitraMadan
ChitraMadanAccepted solution
New Participant
Jan 31, 2023 10:14 PM UTC

Hi @mel-11 ,

 

You can enable in-line references  to other Content Fragments by checking the Allow Fragment Reference and configuring the Allowed Content Fragment Models in Multi-line text data type as shown below:

 

Can you please check if this option is available when you're rendering it as "multi field", while defining the model?

 

Also, please refer to below articles for more details:

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/how-to/rich-text.html?lang=en

 

Hope this helps!!

 

Thanks,

Chitra

3 replies

ChitraMadan
ChitraMadanAccepted solution
New Participant
Jan 31, 2023 10:14 PM UTC

Hi @mel-11 ,

 

You can enable in-line references  to other Content Fragments by checking the Allow Fragment Reference and configuring the Allowed Content Fragment Models in Multi-line text data type as shown below:

 

Can you please check if this option is available when you're rendering it as "multi field", while defining the model?

 

Also, please refer to below articles for more details:

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/how-to/rich-text.html?lang=en

 

Hope this helps!!

 

Thanks,

Chitra

Translate
Mel-11Author
New Participant
Feb 1, 2023 2:50 PM UTC

Hi @chitramadan , 

Thanks for your response. I'm struggling to insert a fragment specifically when I have "multifield" selected in the top field (rendered as). The screenshot below shows that I've selected "Allow fragment reference" and have selected multiple fragment models to select from. 

 

 But on the authoring side, I don't see the icon to actually insert a content fragment. 

 

Is this a bug? Or, is this ability not possible when when "multi field" is selected?

 

Translate
ChitraMadan
New Participant
Feb 1, 2023 10:43 PM UTC

Hi @mel-11 , 

 

May be try to replicate the same thing on we.retail to check if this is the product bug.

 

Thanks,

Chitra

Translate