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

cancel
Showing results for 
Search instead for 
Did you mean: 
anuradha1
Active Member II

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

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?

3 Replies
anuradha1
Active Member II

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

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.

krutik_jayswal
Senior Member II

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

you can use checkbox.ftl.Below is path for same.

org\alfresco\components\form\controls\checkbox.ftl

cesarista
Customer

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

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.