Skip to main content
1-Visitor
Mar 19, 2015 4:03 PM UTC
Solved

Using DefaultObjectFormProcessor we need to provide Javascript prompt (Yes/No)

Using DefaultObjectFormProcessor we have defined an action when user clicks menu/command. Based on status of EPMDocument we need to add hook/catch before the action method gets executed. Provide Javascript prompt (Yes/No). I need to invoke JAVASCRIPT action in preProcess() method. Based on Yes/No input the next Process method gets called or abort.

PrabhashAnswer
1-Visitor
Mar 23, 2015 2:13 PM UTC

You can write server side validator and register it with action to achieve this.

Let me know if you need more info.

7 replies

1-Visitor
Mar 20, 2015 6:57 AM UTC

Hello Harshal,

It is not very clear what exactly you want to acheive. If you could elaborate your problem statement liitle bit more, it will be easier to help you out.

Translate
hdamle1-VisitorAuthor
1-Visitor
Mar 20, 2015 2:31 PM UTC

I just need to create UI menu action by clicking on it shall perform certain validation on CAD Document and based on that it shall prompt yes/no dialog to user. Based on the user input yes/no final action shall be committed.

Translate
Prabhash1-VisitorAnswer
1-Visitor
Mar 23, 2015 2:13 PM UTC

You can write server side validator and register it with action to achieve this.

Let me know if you need more info.

Translate