How to add a check box to custom models in Alfresco Community 5.2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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?
- Labels:
-
Alfresco Content Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2018 03:39 AM
you can use checkbox.ftl.Below is path for same.
org\alfresco\components\form\controls\checkbox.ftl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
