cancel
Showing results for 
Search instead for 
Did you mean: 

Title and Header fields on custom type create form.

bobalfresco
Champ in-the-making
Champ in-the-making
I have created a custom type and configured share-config-custom.xml.
It is working but the form displays the words "title" and "header".
I have included a screen shot.

Is it possible to set the values of these fields?
3 REPLIES 3

raghav_bhardwaj
Champ on-the-rise
Champ on-the-rise
Please check for proper closing of tags in your respective xml.


regards

Raghav Bhardwaj

Thanks for the suggestion but I don't see any xml errors. I also share-config-custom.xml
through an xml validator.

<alfresco-config>
   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary">
      <create-content>
         <content id="plain-text" mimetype="text/plain" label="Image Library"
            itemid="hcpm:image-library" icon="folder" />
         <content id="plain-text" mimetype="text/plain" label="Product Type"
            itemid="hcpmSmiley Tongueroduct-type" icon="folder" />
         <content id="plain-text" mimetype="text/plain" label="Product"
            itemid="hcpmSmiley Tongueroduct" icon="folder" />
         <content id="plain-text" mimetype="text/plain" label="Peeps Category"
            itemid="hcpmSmiley Tongueeeps-category" icon="folder" />
         <content id="plain-text" mimetype="text/plain" label="Peeps"
            itemid="hcpmSmiley Tongueeeps" icon="folder" />
      </create-content>

      <types>
         <type name="cm:folder">
            <subtype name="hcpm:content-folder" />
            <subtype name="hcpm:image-library" />
            <subtype name="hcpm:library-folder" />
            <subtype name="hcpmSmiley Tongueroduct-type" />
            <subtype name="hcpmSmiley Tongueroduct" />
            <subtype name="hcpmSmiley Tongueeeps-category" />
            <subtype name="hcpmSmiley Tongueeeps" />
         </type>
         <type name="hcpm:content-folder">
            <subtype name="hcpm:image-library" />
            <subtype name="hcpmSmiley Tongueroduct" />
            <subtype name="hcpmSmiley Tongueeeps" />
         </type>
      </types>
   </config>

   <!– hcpm:image-library type (existing nodes) –>
   <config evaluator="node-type" condition="hcpm:image-library">
      <forms>
         <!– Default form configuration for the hcpm:imageLibrary type –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpm:image-library-display-name" />
               <show id="hcpm:image-library-type" />
               <show id="hcpm:deployment-date-qa" />
               <show id="hcpm:deployment-date-uat" />
               <show id="hcpm:deployment-date-prod" />
            </field-visibility>
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpm:image-library-display-name" label-id="prop.hcpm_image-library-display-name" />
               <field id="hcpm:image-library-type" label-id="prop.hcpm_image-library-type" />
               <field id="hcpm:deployment-date-qa" label-id="prop.hcpm_deployment-date-qa">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
               <field id="hcpm:deployment-date-uat" label-id="prop.hcpm_deployment-date-uat">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
               <field id="hcpm:deployment-date-prod" label-id="prop.hcpm_deployment-date-prod">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
            </appearance>
         </form>

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:name" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>

   <!– hcpm:image-library type (creating nodes) –>
   <config evaluator="model-type" condition="hcpm:image-library">
      <forms>
         <!– Document Library Common form –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpm:image-library-display-name" />
               <show id="hcpm:image-library-type" />
            </field-visibility>
            <create-form template="../documentlibrary/forms/doclib-common.ftl" />
            <appearance>
               <field id="cm:name">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl">
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpm:image-library-display-name" label-id="prop.hcpm_image-library-display-name" />
               <field id="hcpm:image-library-type" label-id="prop.hcpm_image-library-type" />
            </appearance>
         </form>
         <!– Search form –>
         <form id="search">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
            </field-visibility>
         </form>
      </forms>
   </config>

   <!– hcpm:library-folder type (existing nodes) –>
   <config evaluator="node-type" condition="hcpm:library-folder">
      <forms>
         <!– Default form configuration for the hcpmSmiley Tongueeeps type –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpm:library-folder-short-title" />
            </field-visibility>
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpm:library-folder-short-title" label-id="prop.hcpm_library-folder-short-title" />
            </appearance>
         </form>

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:name" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>
   
   <!– hcpmSmiley Tongueroduct-type type (existing nodes) –>
   <config evaluator="node-type" condition="hcpmSmiley Tongueroduct-type">
      <forms>
         <!– Default form configuration for the hcpmSmiley Tongueroduct-type type –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpmSmiley Tongueroduct-type-prefix" />
               <show id="hcpm:image-library-background" />
               <show id="hcpm:image-library-graphics" />
               <show id="hcpm:image-library-images" />
               <show id="hcpm:image-library-photo" />
               <show id="hcpm:image-library-stock" />
            </field-visibility>
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpmSmiley Tongueroduct-type-prefix" label-id="prop.hcpm_product-type-prefix" />
               <field id="hcpm:image-library-background" label-id="prop.hcpm_image-library-background" />
               <field id="hcpm:image-library-graphics" label-id="prop.hcpm_image-library-graphics" />
               <field id="hcpm:image-library-images" label-id="prop.hcpm_image-library-images" />
               <field id="hcpm:image-library-photo" label-id="prop.hcpm_image-library-photo" />
               <field id="hcpm:image-library-stock" label-id="prop.hcpm_image-library-stock" />
            </appearance>
         </form>

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:name" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>

   <!– hcpmSmiley Tongueroduct-type type (creating nodes) –>
   <config evaluator="model-type" condition="hcpmSmiley Tongueroduct-type">
      <forms>
         <!– Document Library Common form –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpmSmiley Tongueroduct-type-prefix" />
               <show id="hcpm:image-library-background" />
               <show id="hcpm:image-library-graphics" />
               <show id="hcpm:image-library-images" />
               <show id="hcpm:image-library-photo" />
               <show id="hcpm:image-library-stock" />
            </field-visibility>
            <create-form template="../documentlibrary/forms/doclib-common.ftl" />
            <appearance>
               <field id="cm:name">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl">
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpmSmiley Tongueroduct-type-prefix" label-id="prop.hcpm_product-type-prefix" />
               <field id="hcpm:image-library-background" label-id="prop.hcpm_image-library-background">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-graphics" label-id="prop.hcpm_image-library-graphics">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-images" label-id="prop.hcpm_image-library-images">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-photo" label-id="prop.hcpm_image-library-photo">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-stock" label-id="prop.hcpm_image-library-stock">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
            </appearance>
         </form>
         <!– Search form –>
         <form id="search">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
            </field-visibility>
         </form>
      </forms>
   </config>

   <!– hcpmSmiley Tongueroduct type (existing nodes) –>
   <config evaluator="node-type" condition="hcpmSmiley Tongueroduct">
      <forms>
         <!– Default form configuration for the hcpmSmiley Tongueroduct type –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:description" />
               <show id="hcpmSmiley Tongueroduct-version" />
               <show id="hcpmSmiley Tongueroduct-type-selection" />
               <show id="hcpm:image-library-background" />
               <show id="hcpm:image-library-graphics" />
               <show id="hcpm:image-library-images" />
               <show id="hcpm:image-library-photo" />
               <show id="hcpm:image-library-stock" />
               <show id="hcpm:deployment-date-qa" />
               <show id="hcpm:deployment-date-uat" />
               <show id="hcpm:deployment-date-prod" />
            </field-visibility>
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="cm:description" />
               <field id="hcpmSmiley Tongueroduct-version" label-id="prop.hcpm_product-version" />
               <field id="hcpmSmiley Tongueroduct-type-selection" label-id="prop.hcpm_product-type-selection" />
               <field id="hcpm:image-library-background" label-id="prop.hcpm_image-library-background">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-graphics" label-id="prop.hcpm_image-library-graphics">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-images" label-id="prop.hcpm_image-library-images">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-photo" label-id="prop.hcpm_image-library-photo">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:image-library-stock" label-id="prop.hcpm_image-library-stock">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
               </field>
               <field id="hcpm:deployment-date-qa" label-id="prop.hcpm_deployment-date-qa">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
               <field id="hcpm:deployment-date-uat" label-id="prop.hcpm_deployment-date-uat">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
               <field id="hcpm:deployment-date-prod" label-id="prop.hcpm_deployment-date-prod">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
            </appearance>
         </form>

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:name" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>

   <!– hcpmSmiley Tongueroduct type (creating nodes) –>
   <config evaluator="model-type" condition="hcpmSmiley Tongueroduct">
      <forms>
         <!– Document Library Common form –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpmSmiley Tongueroduct-type-selection" force="true" />
            </field-visibility>
            <create-form template="../documentlibrary/forms/doclib-common.ftl" />
            <appearance>
               <field id="cm:name">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl">
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpmSmiley Tongueroduct-type-selection" label-id="prop.hcpm_product-type-selection">
                  <control template="/org/alfresco/components/form/controls/selectone.ftl" />
               </field>
            </appearance>
         </form>
         <!– Search form –>
         <form id="search">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
            </field-visibility>
         </form>
      </forms>
   </config>

   <!– hcpmSmiley Tongueeeps-category type (existing nodes) –>
   <config evaluator="node-type" condition="hcpmSmiley Tongueeeps-category">
      <forms>
         <!– Default form configuration for the hcpmSmiley Tongueroduct-type type –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpmSmiley Tongueeeps-category-display-name" />
            </field-visibility>
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpmSmiley Tongueeeps-category-display-name" label-id="prop.hcpm_peeps-category-display-name" />
            </appearance>
         </form>

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:name" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>

   <!– hcpmSmiley Tongueeeps-category type (creating nodes) –>
   <config evaluator="model-type" condition="hcpmSmiley Tongueeeps-category">
      <forms>
         <!– Document Library Common form –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpmSmiley Tongueeeps-category-display-name" />
            </field-visibility>
            <create-form template="../documentlibrary/forms/doclib-common.ftl" />
            <appearance>
               <field id="cm:name">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl">
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpmSmiley Tongueeeps-category-display-name" label-id="prop.hcpm_peeps-category-display-name" />
            </appearance>
         </form>
         <!– Search form –>
         <form id="search">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
            </field-visibility>
         </form>
      </forms>
   </config>

   <!– hcpmSmiley Tongueeeps type (existing nodes) –>
   <config evaluator="node-type" condition="hcpmSmiley Tongueeeps">
      <forms>
         <!– Default form configuration for the hcpmSmiley Tongueeeps type –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpmSmiley Tongueeeps-code" />
               <show id="hcpmSmiley Tongueeeps-category-selection" />
               <show id="hcpmSmiley Tongueeeps-display-name" />
               <show id="hcpm:deployment-date-qa" />
               <show id="hcpm:deployment-date-uat" />
               <show id="hcpm:deployment-date-prod" />
            </field-visibility>
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpmSmiley Tongueeeps-display-name" label-id="prop.hcpm_peeps-display-name" />
               <field id="hcpmSmiley Tongueeeps-code" label-id="prop.hcpm_peeps-code" />
               <field id="hcpmSmiley Tongueeeps-category-selection" label-id="prop.hcpm_peeps-category-selection">
                  <control template="/org/alfresco/components/form/controls/selectone.ftl" />
               </field>
               <field id="hcpm:deployment-date-qa" label-id="prop.hcpm_deployment-date-qa">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
               <field id="hcpm:deployment-date-uat" label-id="prop.hcpm_deployment-date-uat">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
               <field id="hcpm:deployment-date-prod" label-id="prop.hcpm_deployment-date-prod">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                     <control-param name="showTime">true</control-param>
                  </control>
               </field>
            </appearance>
         </form>

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:name" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            <appearance>
               <field id="cm:name">
                  <control>
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>

   <!– hcpmSmiley Tongueeeps type (creating nodes) –>
   <config evaluator="model-type" condition="hcpmSmiley Tongueeeps">
      <forms>
         <!– Document Library Common form –>
         <form>
            <field-visibility>
               <show id="cm:name" />
               <show id="hcpmSmiley Tongueeeps-category-selection" force="true" />
            </field-visibility>
            <create-form template="../documentlibrary/forms/doclib-common.ftl" />
            <appearance>
               <field id="cm:name">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl">
                     <control-param name="maxLength">255</control-param>
                  </control>
               </field>
               <field id="hcpmSmiley Tongueeeps-category-selection" label-id="prop.hcpm_peeps-category-selection">
                  <control template="/org/alfresco/components/form/controls/selectone.ftl" />
               </field>
            </appearance>
         </form>
         <!– Search form –>
         <form id="search">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
            </field-visibility>
         </form>
      </forms>
   </config>
   
   <config replace="true" evaluator="string-compare" condition="AdvancedSearch">
      <advanced-search>
         <!– Forms for the advanced search type list –>
         <forms>
            <form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content
            </form>
            <form labelId="search.form.label.cm_folder" descriptionId="search.form.desc.cm_folder">cm:folder
            </form>
            <form labelId="type.hcpm_image-library" descriptionId="search.form.desc.hcpm_image-library">hcpm:image-library
            </form>
            <form labelId="type.hcpm_product-type" descriptionId="search.form.desc.hcpm_product-type">hcpmSmiley Tongueroduct-type
            </form>
            <form labelId="type.hcpm_product" descriptionId="search.form.desc.hcpm_product">hcpmSmiley Tongueroduct
            </form>
         </forms>
      </advanced-search>
   </config>

   <!– Actions –>
   <config evaluator="string-compare" condition="DocLibActions">
      <actions>
         <action id="deploy-image-library-qa" type="javascript"
            label="Deploy image library to QA…" icon="deploy-qa">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-image-library-qa</param>
            <param name="successMessage">message.deployment-success-qa</param>
            <param name="failureMessage">message.deployment-failure-qa</param>
            <evaluator>evaluator.doclib.action.isImageLibrary</evaluator>
         </action>

         <action id="deploy-image-library-uat" type="javascript"
            label="Deploy image library to UAT…" icon="deploy-uat">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-image-library-uat</param>
            <param name="successMessage">message.deployment-success-uat</param>
            <param name="failureMessage">message.deployment-failure-uat</param>
            <evaluator>evaluator.doclib.action.isImageLibrary</evaluator>
         </action>

         <action id="deploy-image-library-prod" type="javascript"
            label="Deploy image library to PROD…" icon="deploy-prod">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-image-library-prod</param>
            <param name="successMessage">message.deployment-success-prod</param>
            <param name="failureMessage">message.deployment-failure-prod</param>
            <evaluator>evaluator.doclib.action.isImageLibrary</evaluator>
         </action>

         <action id="deploy-product-qa" type="javascript" label="Deploy product to QA…"
            icon="deploy-qa">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-product-qa</param>
            <param name="successMessage">message.deployment-success-qa</param>
            <param name="failureMessage">message.deployment-failure-qa</param>
            <evaluator>evaluator.doclib.action.isProduct</evaluator>
         </action>

         <action id="deploy-product-uat" type="javascript"
            label="Deploy product to UAT…" icon="deploy-uat">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-product-uat</param>
            <param name="successMessage">message.deployment-success-uat</param>
            <param name="failureMessage">message.deployment-failure-uat</param>
            <evaluator>evaluator.doclib.action.isProduct</evaluator>
         </action>

         <action id="deploy-product-prod" type="javascript"
            label="Deploy product to PROD…" icon="deploy-prod">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-product-prod</param>
            <param name="successMessage">message.deployment-success-prod</param>
            <param name="failureMessage">message.deployment-failure-prod</param>
            <evaluator>evaluator.doclib.action.isProduct</evaluator>
         </action>

         <action id="deploy-peeps-qa" type="javascript" label="Deploy peeps to QA…"
            icon="deploy-qa">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-peeps-qa</param>
            <param name="successMessage">message.deployment-success-qa</param>
            <param name="failureMessage">message.deployment-failure-qa</param>
            <evaluator>evaluator.doclib.action.isPeeps</evaluator>
         </action>

         <action id="deploy-peeps-uat" type="javascript" label="Deploy peeps to UAT…"
            icon="deploy-uat">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-peeps-uat</param>
            <param name="successMessage">message.deployment-success-uat</param>
            <param name="failureMessage">message.deployment-failure-uat</param>
            <evaluator>evaluator.doclib.action.isPeeps</evaluator>
         </action>

         <action id="deploy-peeps-prod" type="javascript" label="Deploy peeps to PROD…"
            icon="deploy-prod">
            <param name="function">onActionSimpleRepoAction</param>
            <permissions>
               <permission allow="true">Write</permission>
            </permissions>
            <param name="action">deploy-peeps-prod</param>
            <param name="successMessage">message.deployment-success-prod</param>
            <param name="failureMessage">message.deployment-failure-prod</param>
            <evaluator>evaluator.doclib.action.isPeeps</evaluator>
         </action>

      </actions>

      <actionGroups>
         <actionGroup id="folder-browse">
            <action index="500" id="deploy-image-library-qa" />
            <action index="510" id="deploy-image-library-uat" />
            <action index="520" id="deploy-image-library-prod" />
            <action index="600" id="deploy-product-qa" />
            <action index="610" id="deploy-product-uat" />
            <action index="620" id="deploy-product-prod" />
            <action index="700" id="deploy-peeps-qa" />
            <action index="710" id="deploy-peeps-uat" />
            <action index="720" id="deploy-peeps-prod" />
         </actionGroup>
         <actionGroup id="folder-details">
            <action index="500" id="deploy-image-library-qa" />
            <action index="510" id="deploy-image-library-uat" />
            <action index="520" id="deploy-image-library-prod" />
            <action index="600" id="deploy-product-qa" />
            <action index="610" id="deploy-product-uat" />
            <action index="620" id="deploy-product-prod" />
            <action index="700" id="deploy-peeps-qa" />
            <action index="710" id="deploy-peeps-uat" />
            <action index="720" id="deploy-peeps-prod" />
         </actionGroup>
      </actionGroups>
   </config>

</alfresco-config>

art99trash
Star Contributor
Star Contributor