AnsweredAssumed Answered

Problems using build in form control *.FTL's

Question asked by lofving on Sep 21, 2012
Latest reply on Sep 21, 2012 by lofving
Hi community.

I'm trying to config a custom data type that's a child of cm:content and thought that have access to properties like the mimetype (and others).
The problem I'm facing is that my mimetype field wont use the build in "mimetype.ftl" file that i want it to use.

<config  evaluator="node-type" condition="cdt:officialType">
      <forms>
         <form>
            <field-visibility>
               <show id="mimetype" />
            </field-visibility>
            <appearance>
               <field id="mimetype">
                  <control template="/org/alfresco/components/form/controls/mimetype.ftl" />
               </field>
            </appearance>
          </form>
                 </forms>
        </config>

Anyone know what I'm doing wrong here?

Thanks
//Lofving

Outcomes