Hello everybody.
I want to create a custom ftl very parecido a selectone.ftl in Alfresco SDK all in one 4.1. Where can I create this file? and what is the path that I should add in the template tag in share-config-custom?
Currently, I managed to solve this situation by creating a selectTD.ftl file and with the Dockerfile I copy it in the corresponding path
My hare-config-custom.xml
<!-- View and Edit forms for rrhh:doc --> <config evaluator="node-type" condition="rrhh:doc"> <forms> <!-- Default form configuration for the cm:content type --> <!-- Ver propiedades de documento dentro de visualizador --> <form> <field-visibility> <show id="cm:name"/> <show id="rrhh:rut"/> <show id="rrhh:nombre"/> <show id="rrhh:apellido"/> <show id="rrhh:tipoDocumento"/> <show id="rrhh:fecha"/> </field-visibility> <appearance> </appearance> </form> <!-- Document Library pop-up Edit Metadata form --> <!-- Editar propiedades fuera de visualizador --> <form id="doclib-simple-metadata"> <field-visibility> <show id="cm:name"/> <show id="rrhh:rut"/> <show id="rrhh:nombre"/> <show id="rrhh:apellido"/> <show id="rrhh:tipoDocumento"/> <show id="rrhh:fecha"/> </field-visibility> <appearance> <field id="rrhh:tipoDocumento"> <control template="/org/alfresco/components/form/controls/selectTD.ftl"/> </field> </appearance> </form> </forms> </config>
selectTD.ftl is the custom file that I want to create, but I don't know the path where it is created in Alfresco SDK all in one 4.1
Bye
Solved! Go to Solution.
Check documentation available in
https://docs.alfresco.com/content-services/6.1/develop/share-ext-points/form-controls/
Check documentation available in
https://docs.alfresco.com/content-services/6.1/develop/share-ext-points/form-controls/
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.