Using IFrame With WebReports
Trouble seeing the images? Right click on images and open in new tab to enlarge or zoom in on the page (Ctrl + mousewheel).
Article Goal: Use IFrames with WebReports
In this article we are going to cover using IFrames with WebReports. For more information regarding WebReports API calls, click here.
What Is An IFrame?
An IFrame (Inline Frame) is an HTML document embedded inside another HTML document on a website.
Sample IFrames
To disable the page Header and Side Menu, add &iframe=true / ?iframe=true to the page URL.
NOTE: The difference between the two arguments above is that one uses an ampersand and the other uses a question mark
NOTE: The items that reference ?iframe=true should only be used for WebReports pages, and never used when executing a report. When executing a report it should be &iframe=true.
Iframe call to prompt user for parameters and remove navbar and side menu:
<iframe src="https://webreports.bridgeworksllc.com/api/FinishedReport?report=SampleWRAPIReport.vdm&Connection=ABCLocal&Type=Finished Report&iframe=true" style='width:100%; height:100%; border:0px'></iframe>
Iframe call to pass View parameters and remove navbar and side menu:
<iframe src="https://webreports.bridgeworksllc.com/Reports/Index?iframe=true" style='width:100%; height:100%; border:0px'></iframe>
Comments
0 comments
Please sign in to leave a comment.