Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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:onApply()"/>
</action>
Attaching the relevant screenshots(highlighted with bold).
Thank you.
Regards,
Ash