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

Problem viewing PDF file merged with FDF data

New Here ,
Jan 24, 2017 Jan 24, 2017

I have a web application that takes an empty PDF form and FDF data, populates the empty PDF form with FDF data(Key-value pairs) and sends this PDF file as response. Along with the FDF data , I also have some buttons that I add to the PDF form. These buttons have navigational URLs to work within the app. I add these buttons using javascript and FDFDoc API.

Here is the code snippet.

 

FDFDoc fdfDoc ( This comes in as input)

 

fdfDoc.SetJavaScriptAction(button.getButtonName(),
com.adobe.fdf.FDFActionTrigger.FDFUp, "this.submitForm(\""
+ button.getButtonURL() + "/openPDFAction.do"
+ "?pageAction=" + button.getButtonPageAction()
+ "&returnPage=" + button.getButtonActionPage()
+ button.getButtonParameterList()
+ "#FDF\",true,true);");
textButtons += "setBtnTxt('" + button.getButtonName() + "','"
+ button.getButtonTitle() + "','"
+ button.getButtonDescription() + "');\r";

fdfDoc.AddDocJavaScript("Onload", textButtons);

(The javascript is setting a label for the buttons and an forward URL upon click. )

The response is sent to the browser. When opened from the browser which is Internet Explorer 11, it opens with no data and the buttons that were added.
This happens only with these Adobe Acrobat Reader DC and Browser combinations.

Adobe Acrobat Reader DC Professional and IE 11 on Windows 7.


This does not happen with Adobe Acrobat Reader DC Standard or with Adobe Acrobat XI. I see the buttons and the data on the form if I have Adobe Acrobat XI /Adobe Acrobat Reader DC Standard with Windows 7 and IE 11.

Any ideas on troubleshooting the issue are appreciated.

Thanks,

Jyothi

TOPICS
Acrobat SDK and JavaScript
660
Translate
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 ,
Mar 29, 2017 Mar 29, 2017

There are no product named Adobe Acrobat Reader DC Professional or Adobe Acrobat Reader DC Standard. What do you use?

Translate
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
Adobe Employee ,
Mar 29, 2017 Mar 29, 2017
LATEST

You can’t add buttons in Reader – only in Standard and Professional.

Translate
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