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:
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."
Seems linke only https links are allowed, which is silly if I just want to open a local pdf file..
Any thoughts on this?
Answers