Seems to be working as documented for doc.exportAsFDF.
This is not JS code. It looks like you're using the Acrobat SDK.
The problem is that the documentation is not very clear on what kind of rights you need to use this method. It just says you need "form rights", but these are not your regular Extended Reader Rights that can be applied in Acrobat, but rather LC Form Rights for Reader...
You're right. Reader shouldn't be exporting at all, if Reader enabled with Acrobat. Guess that's a bonus, but I'd rather have correct documentation.
At first many thanks for all answers.
The situation is a little bit tricky.
We use a Adobe-Integration from Siemens for our PLM-system "Teamcenter".
In Teamcenter I select a PDF and then I click on View/Markup.
Adobe Reader opens the PDF and then I can comment it.
I think the Adobe-Integration overrides the save mechanism from Adobe, because when I click on the save button in the Adobe Reader,
Teamcenter creates a new file (fdf) under the PDF, but without the comment text.
I have opened a bug report at Siemens but they told me following:
If not there is a known problem that the user comment text is not saved for several annotation such as sticky note and etc.
It is always been a pre-requisite to required Reader Extend the PDF file for markup using Adobe Reader.
Reader version 11 basically remove this pre-requisite, with the Adobe bug mentioned for Java Scripting.
We filed bug report with Adobe and it has not been address by Adobe tech support.
How can I upload the .js file from Siemens?
I do not see any bug, only a wish to not need Reader enabling. It is more or less working as documented, which means there is no bug. Perhaps you want a feature request.
The screenshot looks like it was taken in Acrobat. Your original question was about Reader...
APIs and the user interface are not the same thing, and need not follow the same rules. In many apps, the API is a simple interface to run each user interface function, but in Acrobat they are really an entirely separate world, with overlap. Of course it COULD be a bug. There are 13 updates to Adobe Reader XI you have not installed.
If you make a feature request and it is accepted, it will of course apply only to the latest, Reader DC.