exportAsXFDP to a map

Community Beginner ,
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.
Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

Use this:

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

TOPICS
Acrobat SDK and JavaScript, Windows

Views

117

Likes

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

exportAsXFDP to a map

Community Beginner ,
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.
Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

Use this:

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

TOPICS
Acrobat SDK and JavaScript, Windows

Views

118

Likes

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
Jun 29, 2019 0
Most Valuable Participant ,
Jun 29, 2019

Copy link to clipboard

Copied

Use this:

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

Likes

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
Reply
Loading...
Jun 29, 2019 0
Community Beginner ,
Jun 30, 2019

Copy link to clipboard

Copied

Thx

Likes

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
Reply
Loading...
Jun 30, 2019 0
Community Beginner ,
Jan 05, 2020

Copy link to clipboard

Copied

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?

Likes

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
Reply
Loading...
Jan 05, 2020 0