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

AVDocOpenFromFile cannot open file under C:/user/localadmin

New Here ,
Dec 06, 2020 Dec 06, 2020

Copy link to clipboard

Copied

Dear All,

 

I cannot open file by using AVDocOpenFromFile, if the file is under C:/user/localadmin. But it can open file if I added "Everyone" into the security of directory - localadmin. Anyone has the idea about it?

 

Thanks and best regards,

Tony

 

li0D4C_1-1607302765121.png

 

TOPICS
Acrobat SDK and JavaScript

Views

455

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
LEGEND ,
Dec 09, 2020 Dec 09, 2020

Copy link to clipboard

Copied

Can you open it is the UI without changing the security?

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
New Here ,
Dec 13, 2020 Dec 13, 2020

Copy link to clipboard

Copied

Yes. I can open it if not use AVDocOpenFromFile.

thanks,

tony

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
LEGEND ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

Is Protected Mode on? 

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
New Here ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

In perference -> enabled protectd mode at startup 

Protected view is All files.

off Run in AppContainer.

 

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
LEGEND ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

This sounds as if it is designed behaviour. Most files cannot be opened from code in Protected Mode. Open it first in the UI, then try running the code.

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
New Here ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

Actually I don't understand what is "Open it first in the UI"?

 

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
LEGEND ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

The UI is just the menus and buttons of Acrobat.

So, first open the file using File > Open. Then close it. Now see if your code works correctly. If it works, this is the normal function of the Sandbox, blocking access to files.

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
New Here ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

LATEST

If use UI, it can open it. But use API, can not open. Do you have other solution for that?

 

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