Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Auto-close after signature?

Avatar

Former Community Member

I would like to know if it's possible to auto-close a document after signing and saving.  I've been having an issue at the company with two (or more) people having a document open for electronic signature at once, and of course only one of them can save at a time.  If a document could close automatically after signature, this problem would greatly be reduced.

If there is a code that allows auto-closing the file after the signature save prompt and the person signs, I would love to know about it.

Is this possible?

Win XP, LS 8.2, Acrobat Professional 9.4

3 Replies

Avatar

Level 10

Hi,

You could try the following in the postSign event:

app.execMenuItem("Close");

I am not sure of this will work as part of the signature process, but it is worth a try. The script will close the file only and not the application.

Good luck,

Niall

Avatar

Former Community Member

Ok tried that, and get the message, "Object contains a feature not supported by target version"

The Report log says,  "Target Version does not support PostSign event".

Avatar

Level 10

Yeah,

The postSign event is XFA 2.8, aka Acrobat/Reader v9.

Sorry,

Niall