I want to create a custom data type which can hold multiple fields in content fragment

gpujari

24-03-2020

Hi,

I have a requirement that in the content fragment, I have field which have multiple fields.

One of that field is multifield but having custom data type having multiple fields with different data types

for ex. I want to create a content fragment which includes

title(single line text), description(multi line text),

and one field need to have multifield with a different datatypes

       1, Boolean

       2. Number

       3. Range

 

Can we do that in content fragment and how?

Adobe Experience Manager content fragments

Accepted Solutions (1)

Accepted Solutions (1)

vanegi

Employee

14-07-2020

Hi @gpujari ,

Yes, you can achieve this by using Content Fragment Models. See https://docs.adobe.com/content/help/en/experience-manager-65/assets/fragments/content-fragments-mode.... You can create a custom content fragment model having the following 

- title(single line text)

- description(multi line text), and many more.

And then create a content fragment using this CFM. [https://docs.adobe.com/content/help/en/experience-manager-65/assets/fragments/content-fragments-mode...].

 

To enable content fragment models you need to:
  • Enable the use of content fragment models in the configuration manager
  • Apply the configuration to your Assets folder

Answers (0)