Skip to main content
1-Visitor
March 19, 2015
Solved

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

  • March 19, 2015
  • 1 reply
  • 3710 views

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.

Best answer by Prabhash

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

Let me know if you need more info.

1 reply

1-Visitor
March 20, 2015

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.

hdamle1-VisitorAuthor
1-Visitor
March 20, 2015

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.

Prabhash1-VisitorAnswer
1-Visitor
March 23, 2015

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

Let me know if you need more info.