Web App - How to Compose Doc & Immediately Save?

Greetings,

I have a web-only application with a couple different forms.

Let’s say the user has Form1 open, and there is a link to Compose Form2. When the user clicks the link, I need Form2 to automatically open, inherit fields from Form1, and automatically immediately save.

The Save should require no user intervention, and not take the user anywhere else.

How can I do this?

Subject: Web App - How to Compose Doc & Immediately Save ??

Use the WebQuerySave Event in form1 to build document 2, save it and then end the agent with a print statement to open doc2 in edit mode (use its unid in your url).

Doc1 automatically gets saved after the webquerysave completes.

Subject: RE: Web App - How to Compose Doc & Immediately Save ??

I apologize for my clarity … it is Form2 that I need immediately and automatically saved after composition, not Form1.

Subject: RE: Web App - How to Compose Doc & Immediately Save ??

If you don’t want form 1 saved, then add a hidden SaveOptions field with a value of “0” to it.

Subject: RE: Web App - How to Compose Doc & Immediately Save ??

:slight_smile:

I don’t care about Form1. It is Form2 that I need to be opened and immediately automatically saved.