Can you put a web page window on a form?
- dominique.beaudin
- Posts: 49
- Joined: Tue Mar 06, 2018
Hello,
The answer is probably no, but... I have a form that I want to display the contents of a web page (based on the customer id in the form).
I found a promising entry on previewing PDF's and attempted to use the HTML control to embed the website, but it's not working.
Is this even possible? Thanks!
HTML code:
<p><iframe name="preview_frame" id="preview_frame" src="about:blank" frameborder="1" scrolling="yes" height="500" width="800"></iframe></p>
Javascript Code: (I plan to make the '199' a variable if I can)
var url ='http://sql1/ReportServer/Pages/ReportVi ... ctorID=199';
$('#preview_frame').prop('src', url);
The answer is probably no, but... I have a form that I want to display the contents of a web page (based on the customer id in the form).
I found a promising entry on previewing PDF's and attempted to use the HTML control to embed the website, but it's not working.
Is this even possible? Thanks!
HTML code:
<p><iframe name="preview_frame" id="preview_frame" src="about:blank" frameborder="1" scrolling="yes" height="500" width="800"></iframe></p>
Javascript Code: (I plan to make the '199' a variable if I can)
var url ='http://sql1/ReportServer/Pages/ReportVi ... ctorID=199';
$('#preview_frame').prop('src', url);
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear Dominique,
SharePoint only supports embedding content from secure sites, that support encryption. Use HTTPS instead, if possible.
SharePoint only supports embedding content from secure sites, that support encryption. Use HTTPS instead, if possible.
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests