Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Custom properties in Content Fragment Model

Avatar

Level 2

Hi folks,
Please help me How to add a property in Data Types properties in Content Fragment Model?
Thanks,

Screen Shot 2018-06-15 at 10.56.54 AM.png

5 Replies

Avatar

Employee Advisor

Hi,

Do I understand you correctly, that you want to extend the "settings dialog" (don't know it's offical name right now) on the right hand sind (you marked it with a red box)? What kind kind of property do you want to add? And why you would do it is also an interesting question. :-)

Jörg

Avatar

Level 2

I added Disable field. The value of disabled field saved as "on/off" but I want to value of disabled save as "true/false".

Screen Shot 2018-06-15 at 1.09.14 PM.png

Avatar

Employee Advisor

There's likely a way to achieve this, but if you change the value(s) of a predefined properties you might break this functionality.

Avatar

Level 2

Yes, My requirement has a read-only field. I must custom it.

Screen Shot 2018-06-15 at 1.48.33 PM.png

Avatar

Level 2

As far as I know the OOTB have the feature of required but no disable feature, did you add custom disablefield?