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

With Enable Protected Mode at startup selected, PDDocSaveWithParams not allowing to save PDF

Explorer ,
Sep 21, 2023 Sep 21, 2023

Hello,

 

           I am using Acrobat Pro 2023 version on Windows 10 Enterprise, and in one of the plug-in application that I created, I am saving the PDF file after some changes using PDDocSaveWithParams,  it was working fine when Enable Protected Mode at startup option is disabled.  But when I enabled the option  Protected Mode at startup,  it is not saving the file but at code line  PDDocSaveWithParams, there is an Exception occuring and file not saved.   What I have to do to save the PDF file with this protected Mode.

 

[Question moved to the Acrobat SDK forum]

TOPICS
Acrobat SDK and JavaScript
612
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 ,
Sep 21, 2023 Sep 21, 2023

Hi,

Can you provide the Exception text?

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
Explorer ,
Sep 21, 2023 Sep 21, 2023

Here is the screenshot of the exception text

PALAKSHAHurkadli_0-1695363570921.png

and as I tried to save with a different filename, able to save the file.

 

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
Explorer ,
Sep 27, 2023 Sep 27, 2023

Any reply on this Please?

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 ,
Sep 28, 2023 Sep 28, 2023
LATEST

You need to build a Broker.

https://opensource.adobe.com/dc-acrobat-sdk-docs/library/overview/SandboxBrokerExt.html

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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