How to force browser to display pdf form only whether it supports or not?

Mrsunilg-3z0lTX 15-10-2015

Hi All,

Whenever I hit below url I get an HTML 5 form and When My browser doesnt support I will get pdf form with xml data rendered into it.

http://localhost:4502/content/xfaforms/profiles/default.html?contentRoot=crx:///content/dam/formsand...

Please tell me what parameter I set to get either HTML5 or PDF based on my choice. I want to force browser to display pdf whether it supports or not.

 

Regards

Accepted Solutions (1)

Accepted Solutions (1)

varundua 15-10-2015

Instead of the html extension, you can try .pdf extension to show the pdf file. i.e. try changing the URL to

http://<server>:<port>/content/xfaforms/profiles/default.pdf?contentRoot=crx:///content/dam/formsanddocuments/FordeForm&template=ESC101NK.xdp&dataRef=crx:///content/dam/fordeform/contractData.xml