Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Page 2115 Report Viewer: Microsoft.Dynamics.Nav.Client.WebPageViewer

$
0
0
Hey,

I want to display a PDF in a control addin next to a card and I don't want to use third party DLL's (I know https://mibuso.com/downloads/rtc-control-addin-browser exists but I want to stick with standard Navision).

So I found the above page which opens an html page. This is done with the following code:
zfaj19nzdr1s.png

Changing the code to a hardcoded html path works. But changing it to a pdf file does not work.
I noticed that there is also a function "Navigate" which can be used instead of SetContent. If you fill in any https link it will navigate to that page (pdf, html..).
However I want it to open a pdf file on my c drive. But if I do this I get the following error: "Insecure URL Specified. Please contact your system administrator."

87g12sjk08dz.png

Seems linke only https links are allowed, which is silly if I just want to open a local pdf file..

Any thoughts on this?

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>