Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Creating Save Button Does Not Work - HELP!

Avatar

Former Community Member
I am trying to create a button that will execute "Save As." I have added a regular button, and at the "click" option I enter: app.executeMenuItem("SaveAs").



The error message I get is "Script failed (language is formcalc; context is xfa[a].form[0].form1[0].#subform[0].Button2[0]) script=app.executeMenuItem("SaveAs")

Error:accessor 'app.executeMenuItem("SaveAs")' is unknown.



What does this mean?? Can anyone please help, I need to get this working asap.



Thanks in advance for help!!
1 Reply

Avatar

Former Community Member
You need to change the language of the script from FormCalc to JavaScript in the drop down.



Chris

Adobe Enterprise Developer Support