Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

gpujari
Level 1
Level 1

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
1 Accepted Solution
vanegi
Correct answer by
Employee
Employee

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

View solution in original post

1 Reply
vanegi
Correct answer by
Employee
Employee

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

View solution in original post