 
					
				
		
10-12-2021 05:03 PM
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
10-13-2021 08:23 AM
Check documentation available in
https://docs.alfresco.com/content-services/6.1/develop/share-ext-points/form-controls/
10-13-2021 08:23 AM
Check documentation available in
https://docs.alfresco.com/content-services/6.1/develop/share-ext-points/form-controls/
 
					
				
				
			
		
Explore our Alfresco products with the links below. Use labels to filter content by product module.