AnsweredAssumed Answered

How to custom a new Surf Extension Modules

Question asked by allblue on Oct 19, 2016

Following the following tutorial


Adding a menu item to the "Create..." menu in DocLib | Alfresco Documentation


I add a new item on the menu that return me to a content creation page, and I want to change the visual of this page (see example image below), but I can not find documentation about this, it is possible to change this code using tags or setting to make customization and do not keep the default result?



<config evaluator="string-compare" condition="DocumentLibrary">


        <content id="my-doc" label="my-page" type="pagelink" index="10" icon="text">

             <param name="page">create-content?destination={nodeRef}&amp;itemId=cm:content&amp;mimeType=text/plain</param>




<config evaluator="model-type" condition="cm:content">




          <show id="cm:name"/>

          <show id="cm:content" force="true"/>

          <show id="cm:title" force="true"/>

          <show id="cm:description" force="true"/>

          <show id="mimetype"/>

          <show id="app:editInline" force="true"/>



        <field id="cm:name">


              <control-param name="maxLength">255</control-param>



         <field id="cm:title">

            <control template="/org/alfresco/components/form/controls/textfield.ftl"/>


         <field id="cm:content" label-id="">


              <control-param name="editorAppearance">explorer</control-param>



         <field id="mimetype">

            <control template="/org/alfresco/components/form/controls/hidden.ftl">

              <control-param name="contextProperty">mimeType</control-param>



         <field id="app:editInline">

            <control template="/org/alfresco/components/form/controls/hidden.ftl">

             <control-param name="contextProperty">editInline</control-param>