Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

How to do to run a validator for CAD objects for the SaveAs command and Rename

$
0
0

Hi


I need to
validate theparameter"number" inWindchillfor CAD objects and partswhenare performedSaveAs and Renamecommand.

Createdvalidatorclass in whichredefined thefunctions - validateSelectedAction(), validateSelectedMultiSelectAction() and validateFormSubmission()


What is the "action"I need to usetoregister thevalidatorclass?

What do I need to specify the "selector" to the calling function validateSelectedAction(), validateSelectedMultiSelectAction() and validateFormSubmission()


I triedto doas shown below, butare not calledvalidators.


<Service context="default" name="com.ptc.core.ui.validation.UIComponentValidator" targetFile="codebase/service.properties">

        <Option requestor="null" serviceClass="ext.ntck.validators.NTCKValidator" selector="WFSAVEAS" />

        <Option requestor="null" serviceClass="ext.ntck.validators.NTCKValidator" selector="MULTIRENAME" />

</Service>

 

Thanks.


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>