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

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

Highlighted
Participant

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

Hi


I need to
validate the parameter "number" in Windchill for CAD objects and parts when are performed SaveAs and Rename command.

Created validator class in which redefined the functions - validateSelectedAction(), validateSelectedMultiSelectAction() and validateFormSubmission()


What is the "action" I need to use to register the validator class?

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


I tried to do as shown below, but are not called validators.


<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.

1 REPLY 1

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

Hi,

 

Did you find any work around for this. If yes please share, i am also stuck in same kind of problem.