Embedding the Dashboards into Any Web Page

Previous  Home topic  Next  Print this topic Send Feedback

The PerfectForms™ Dashboards can be embedded into any HTML-encoded Web page. This can be done as a simple link or by using the form's Embed code within an HTML page.

 

Embedding the Dashboards will make the most sense in conjunction with Single Sign-On, as you will otherwise be required to log in each time you access one of the subsequent pages. For more information, see the Setting Up Single Sign-On for a User Account topic.

 

When embedded, the Dashboards are displayed without any styles, such as the blue surround to the screens. This allows for a better cosmetic integration within your own pages.

 

 

Links

 

The following simple links can be used to navigate to the Dashboard. For PerfectForms™ On-Demand, pf.mydomain. will be app.perfectforms.com. For On-Premise users, this is the URL that was used when installing the system.

 

http://pf.mydomain.com/?k=home
http://pf.mydomain.com/?k=notifications
http://pf.mydomain.com/?k=forms
http://pf.mydomain.com/?k=reports

 

 

Embedding the Dashboards Using HTML

 

You can also embed the Dashboards at the HTML level by copying and pasting the code below. You will need to specify the "k" parameter to determine which screen you want to display. The following parameters options are available:

 

k=home
k=notifications
k=forms
k=reports

Note: Be sure to replace the parameter in both locations as well as replacing pf.mydomain.com with the appropriate URL.


 

If you have other content on the page along with the Dashboards, you may see undesired scrollbars in some browsers. You can work around this by setting height and width to pixels rather than %.

 

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

 

   id="flexApplication" width="100%" height="100%"

   codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">

   <param name="movie" value="http://pf.mydomain.com/main.aspx" />

   <param name="quality" value="high" />

   <param name="bgcolor" value="#ffffff" />

   <param name="allowScriptAccess" value="sameDomain" />

   <param name="secure" value="true" />

   <param name="FlashVars" value="k=notifications" />

 

   <embed src="http://pf.mydomain.com/main.aspx"

    quality="high"

    bgcolor="#ffffff"

    width="100%"

    height="100%"

    name="flexApplication"

    align="middle"

    secure="true"

    play="true"

    loop="false"

    quality="high"

    flashVars="k=notifications"

    allowScriptAccess="sameDomain"

    type="application/x-shockwave-flash"

    pluginspage="http://www.adobe.com/go/getflashplayer">

   </embed>

</object>

Updated: 06/12/2011  Page url: http://www.perfectforms.com/Documentation/manual/html/?d_embedding_the_dashboards_into_any_web_page.htm
PerfectForms™ -- forms software, workflow software, and business process management