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

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

Avatar

Avatar
Level 1
gpujari
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
gpujari
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
gpujari
Level 1

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)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct Reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct Reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
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)