AnsweredAssumed Answered

Fields not showing in onActionFormDialog window.

Question asked by art99trash on Feb 26, 2016
I am creating a custom action using onActionFormDialog. When I select the action
the dialog window appears but it does not contain any fields. Only
the "OK" and "Cancel" buttons are showing.
If I click OK, it runs the action.
I think there must be something wrong with my configuration.

share-config-custom.xml

   <config evaluator="string-compare" condition="bulk-deploy">
      <forms>
         <form>
            <field-visibility>
               <show id="fileName" />
               <show id="cm:name" />
               <show id="cm:description" />
            </field-visibility>
            <appearance>
               <field id="fileName" label="fileName:" />
               <field id="cm:name" label="name:" />
               <field id="cm:description" label="description:" />
            </appearance>
         </form>
      </forms>
   </config>

   <action id="bulk-deploy-files" type="javascript"
      label="Bulk Deploy…" icon="bulk-deploy">
      <param name="function">onActionFormDialog</param>
         <param name="itemKind">action</param>
         <param name="itemId">bulk-deploy</param>
      <param name="mode">create</param>
      <param name="destination">{node.nodeRef}</param>
         <param name="successMessage">message.bulk-deploy-success</param>
         <param name="failureMessage">message.bulk-deploy-failure</param>
      <evaluator>evaluator.doclib.action.isDeployableFolder</evaluator>
   </action>


service-context.xml:


   <bean id="bulk-deploy" class="com.company.BulkDeploy"
      parent="action-executer">
      <property name="publicAction">
         <value>true</value>
      </property>
   </bean>


I would appreciate any suggestions.

Attachments

Outcomes