Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi all,
I need to display error messages from a custom action in a separate alert window. This alert should pop up after the action is completed. Since this is only a simple display of error messages, I am trying to create a simple jsp page for this. However, I am facing compilation issues for this jsp page. I am attaching the error screenshot and the code. The custom action is "anonymizeUser". Any suggestions with respect to this will be highly appreciated.
Thanks and Regards
Solved! Go to Solution.
Hello @RK_10348291,
I think it's not needed to create a jsp page for returning error message. Your method anonymization in class ext.ccdr.anonymization.AnonymizeUser should return FormResult. With FormResult, you can display error message in an automatic popup window:
BR,
Pascal
Hello @RK_10348291,
I think it's not needed to create a jsp page for returning error message. Your method anonymization in class ext.ccdr.anonymization.AnonymizeUser should return FormResult. With FormResult, you can display error message in an automatic popup window:
BR,
Pascal