Can you put a web page window on a form?

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
dominique.beaudin
Posts: 49
Joined: Tue Mar 06, 2018

07 Mar 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);

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

12 Mar 2018

Dear Dominique,
SharePoint only supports embedding content from secure sites, that support encryption. Use HTTPS instead, if possible.
Cheers

User avatar
dominique.beaudin
Posts: 49
Joined: Tue Mar 06, 2018

20 Mar 2018

Thank you!

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests