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

exportAsXFDP to a map

Community Beginner ,
Jun 29, 2019 Jun 29, 2019

Copy link to clipboard

Copied

Hi, I don't know how to export a XFDF-file to the fixed map and filename. I does and must work without the file manager. The code is in the Javascript console:

this.exportAsXFDF({cPath:(\C\Test\Test.XFDF), bAnnotations:true});

I tried it with \ and \ and /\ and the bAnnotations:true before the cPath and nothing works. It is on Windows 10.
It originally came from Importing Annotations with JavaScript? and it works for me, but I need only the FDF-file (XFDF in fact) to be saved in a fixed map.
TOPICS
Acrobat SDK and JavaScript , Windows

Views

435

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

correct answers 1 Correct answer

Community Expert , Jun 29, 2019 Jun 29, 2019

Use this:

this.exportAsXFDF({cPath:"/C/Test/Test.XFDF", bAnnotations:true});

Votes

Translate

Translate
Community Expert ,
Jun 29, 2019 Jun 29, 2019

Copy link to clipboard

Copied

Use this:

this.exportAsXFDF({cPath:"/C/Test/Test.XFDF", bAnnotations:true});

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 Beginner ,
Jun 30, 2019 Jun 30, 2019

Copy link to clipboard

Copied

Thx

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 Beginner ,
Jan 05, 2020 Jan 05, 2020

Copy link to clipboard

Copied

LATEST

Now it is in use for a while for example:

this.exportAsXFDF({cPath:"/C/My folder/2020/File.XFDF",bAnnotations:true})

And is it possible to change the C/My folder/2020/File.XFDF to The User's Document folder/2020/File.XFDF?

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