AEM Forms Lifecycle Designer
Hi All,
I am trying some code to close my lifecycle form after the printing of the form.
I am using the below script to close the form, but it is not working. Can someone help me on this.
app.execMenuItem("Close")
Thanks
Hi All,
I am trying some code to close my lifecycle form after the printing of the form.
I am using the below script to close the form, but it is not working. Can someone help me on this.
app.execMenuItem("Close")
Thanks
Hi Pranay,
ideally ,this should have worked and is the standard way to close the form.
if you could try to see if you are writing this on FormCalc or JS tab.
Else please try form.close() on JS.
have a look at this link as well please it can help clarify
Java How to close PDF from using pdf javascript? - Stack Overflow
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.