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

Content Fragment Models - Customization and Intelligence

Avatar

Avatar
Validate 10
Level 4
sandeepk7656774
Level 4

Likes

21 likes

Total Posts

64 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 4
sandeepk7656774
Level 4

Likes

21 likes

Total Posts

64 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
sandeepk7656774
Level 4

24-04-2019

We have Content Fragment Models which are used to create content. This then is exposed as JSON to UI layer. Some Models are shared across many components. We have some fields which are text-fields (though those are not Content Author friendly), we plan to change them to dropdown. But as model is shared across many components, it would be required to have all the values as part of dropdown.

We were looking for setting default value based on component, restrict number of values based on components. If there are any suggestions or pointers for this, any inputs or viewpoint or alternate suggestions would also help.

Thank you

Sandeep

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

24-04-2019

You can write a utility to look for all the possible value which you set as a text filed and collect those and set in enumeration options.

and keep property name for dropdown as same as text.