AnsweredAssumed Answered

page viewer control with query string parameter

Question asked by ricosaupe on Feb 10, 2015
Latest reply on May 13, 2015 by andrew.beals@nintex.com

Hi

 

I need to display a pdf within a nintex flexi task form. I am using the Page Viewer control in Nintex Form 2010. i am calculating the URL (with querystring Parameters) an set it as the source of the Viewer control. The URL is correct and will show the pdf when opening it with a browser. My challenge is that the & gets encoded to & when using it in the source field of the browser and therefore the document wont show.

 

that is a example of the url

 

<siteurl>/_layouts/<Customer>/previewpdf.aspx?list=<guid>&id=<itemid>&isdlg=1

 

the page Viewer control encodes the URL like that

 

<siteurl>/_layouts/<Customer>/previewpdf.aspx?list=<guid>&amp;id=<itemid>&amp;isdlg=1

 

What am I doing wrong here? Is there another control to use for displaing pdf files in forms?

 

Cheers,

Rico

Outcomes