cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

To add a custom apply button.

ash
6-Contributor
6-Contributor

To add a custom apply button.

Hi,

 

For CAPA, in the CAPA Investigation activity > Enter Investigation Details > Edit Actions > Add Row > there's an OK and Cancel Button. I need to add an Apply button there. 

 

In the actionModel.xml page by adding the applyButton entry in the NoStepWizardButton I am able to get an Apply Button.

<model name="NoStepsWizardButtons">
<action name="applyButton" type="object"/> <!--ExtraApplyButton-->
<action name="okButton" type="object"/>
<action name="cancelButton" type="object"/>
</model>

 

But the functionality of the Apply button is simislar to that of OK button. Where should I add the below ApplyButton code, so that my Apply Button works as OOTB Apply button.

<action name="applyButton" id="PJL_wizard_apply" resourceBundle="com.ptc.core.ui.navigationRB">
<command class="" method="" windowType="page" url="javascript&colon;onApply()"/>
</action>

 

Attaching the relevant screenshots(highlighted with bold).

Thank you.

 

Regards,

Ash

0 REPLIES 0
Top Tags