Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

this.saveAs has no permission

New Here ,
Oct 23, 2023 Oct 23, 2023

I used Adobe Acrobat Pro and added the javascript code: this.saveAs("/D/Downloads/file.pdf"); As a result, an error occurred during debugging: NotAllowedError: The security settings prohibit access to this property or method.Doc.saveAs:1:AcroForm:Button1:Annot1:MouseUp:Action1

TOPICS
Security digital signatures and esignatures
677
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Oct 24, 2023 Oct 24, 2023

This method has to be used from a privileged context, such as a trusted function in a folder-level script.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 23, 2023 Oct 23, 2023

Look at the documentation of the method saveAs.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 24, 2023 Oct 24, 2023

This method has to be used from a privileged context, such as a trusted function in a folder-level script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 24, 2023 Oct 24, 2023
LATEST

thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines