Content Fragment Models - Customization and Intelligence

Avatar

Avatar

sandeepk7656774

Avatar

sandeepk7656774

sandeepk7656774

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

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Reply

838

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Reply

838
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.