01-12-2018 12:46 AM
Hi,
I have created a custom model using model manager. But i have a requirement to add a multiple selection property (check box) to the property sheet. But i couldn't able to find any way to add check box to the custom model.
Can anyone suggest me a way to handle this?
01-12-2018 01:11 AM
There is a selectmany.ftl file available on the path -->
/opt/alfresco-community1/tomcat/webapps/awe/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/form/controls
But i can't find a way to add check box.
Ddo i need separate values using " , " or " | "???
i have tried it using " ," , but it is not return the expected output for me.
01-12-2018 03:39 AM
you can use checkbox.ftl.Below is path for same.
org\alfresco\components\form\controls\checkbox.ftl
01-12-2018 04:15 AM
Hi:
You may use many of the ftl components provided by Alfresco, but inside the Model Manager this is somehow constrained. Maybe you can check the following tutorial for creating and deploying custom (bootstrap) content models. Your question refers to share form configuration of the content model.
alfresco-developer-series/tutorial.md at master · jpotts/alfresco-developer-series · GitHub
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.