Question:
How can I embed iDashboards into a webpage?
Issue:
Customers may want the ability to add an iDashboards chart or dashboard to an webpage. This can be accomplished via using standard web technology and a special URL.
Answer:
iDashboards has the ability to be embedded into webpages. "Embedded Viewer Mode" is used for embedding a chart or dashboard in another web page, such as a company intranet or portal page. A Public Access user account is required for it to function. It is designed to maximize the use of screen space; therefore there is no list of category drop-downs across the top of the interface, nor is there a footer bar across the bottom. A single chart or dashboard is always displayed initially, and the only way to open additional dashboards is through drill-downs.
The Admin Manual has details regarding the setup for this feature.
Using the following example format in the source code:
<!-- This IFRAME displays iDashboards in embedded viewer mode. -->
<iframe src="http://<mycompany.com>/idashboards/viewer?guestuser=guestuser&chartID=xx">
</iframe>
</div>
URL Settings:
/viewer
This parameter is required. This is a sub-application for iDashboards. This instantiates embedded viewer mode. It can be called from iDashboards Enterprise or X Platform and can also be called from Cloud PAL.
?guestuser=<guest user name>
This parameter is required. It can only be a Public Access (guest) user, not a standard user. Public Access logins can only be performed for a “Public Access user account”. A Public Access user account is a normal iDashboards user account that has been designated as the guest user account, and thus has the added capability of guest logins. The username of the designated Public Access user account is displayed on the home screen of the Administrator Application.
A Public Access user is not a standard account type. It is a purchasable option for iDashboards and requires a license upgrade.
&chartID=<chart ID> or &dashID=<dashboard ID>
This parameter is required. This is the value of the chart or dashboard ID representing the chart ID of the chart or dashboard ID of the dashboard to which the Public Access user account has view permission.
Example:
The link below shows an example of this feature.
http://demo.idashboards.com/viewer/
The code for the preceding examples is as follows:
<!-- This IFRAME displays iDashboards in embedded viewer mode. -->
<iframe style="width:600;height:400;" scrolling="no"
src="http://demo.idashboards.com/idashboards75/viewer?guestuser=demouser&chartID=709"></iframe>
</div>
Applies To:
- Cloud PAL
- Private Cloud
- Enterprise
- X Platform
- Enterprise Suite 7.5 - Current
Comments
0 comments
Please sign in to leave a comment.