Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I have created a customized menu using custom action. onclick of this action i want to perform some UI validation so for that i have created a validation service and implementing post select validation in java class. i have made an entry to register action into service.properties and service.properties.xconf as below
in service.propties i have added
wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/twx_custom_mashup/null/0=ext.example.rest.validator.MyValidator/duplicate
service.properties.xconf change:
<Service context="default" name="com.ptc.core.ui.validation.UIComponentValidator">
<Option serviceClass="ext.example.rest.validator.MyValidator"
selector="twx_custom_mashup"
requestor="null"
cardinality="duplicate" />
</Service>
suggest me if i am doing anything wrong. if its ok its not making a call to validation service. appreciate any help on it in advance.
Thanks
Solved! Go to Solution.
Now i am able to call post select validation after specifying the class name in action definition. see below
Hello DeepakParihar,
Thank you for using PTC Community to ask your question!
Could you please post the entire customization.
Looks like you have made a custom menu action but, have failed to post the action. So there’s no way to know what it’s actually doing and that is likely the cause of your problem.
Also let us know what happens when you click on the action.🤦 ♂️ . When you reply, please reply on your post with all these additional details so that other users get to know them.
This will surely help other community peers to dive-in and provide you some inputs.
Regards,
Community Moderation Team.
Now i am able to call post select validation after specifying the class name in action definition. see below