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

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

Explorer ,
Sep 21, 2023 Sep 21, 2023

Copy link to clipboard

Copied

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

Views

247

Translate

Translate

Report

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

Copy link to clipboard

Copied

Hi,

Can you provide the Exception text?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Any reply on this Please?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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