Expand my Community achievements bar.

SOLVED

How to create customer data type for Content Fragment Model

Avatar

Level 2

Hi,

Currently we have following data type available for Content fragment model. Can we create customer data type ?

 

Screenshot 2023-05-02 at 3.35.19 PM.png

 

already tried by overlay of /apps/settings/dam/cfm/models/formbuilderconfig/datatypes/items. But in this case Properties not working properly.

 

Screenshot 2023-05-02 at 3.37.55 PM.png

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@navrattanocp This is the new data type right? have you tried similar to this example? 

 

https://blogs.perficient.com/2020/10/20/adding-a-color-picker-to-the-aem-content-fragment-model-edit...

with below properties ?

fieldProperties 
fieldPropResourceType 
fieldResourceType 

 

Please put the screenshot of your node in crxde.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@navrattanocp This is the new data type right? have you tried similar to this example? 

 

https://blogs.perficient.com/2020/10/20/adding-a-color-picker-to-the-aem-content-fragment-model-edit...

with below properties ?

fieldProperties 
fieldPropResourceType 
fieldResourceType 

 

Please put the screenshot of your node in crxde.