displaying your own web pages within service desk

1
STEP 1: Create a custom .htmpl form. For example: <!-- <PDM_IF 0>rfs_menu.htmpl WHEN PRESENTED: Form for analysts to select a Category Custom Form ; not included in 6.0 release Created 8.14.2005 DES </PDM_IF> --><html> <head> <SCRIPT LANGUAGE="JavaScript" SRC="$CAisd /scripts/msgtext.js"></SCRIPT> <PDM_INCLUDE FILE="std_head.htmpl"> <PDM_INCLUDE FILE="styles.htmpl"> </head> <body> < PDM_INCLUDE FILE="std_body.htmpl" [menubar="yes"]> <IFRAME SRC="htt p://onw2kusd1/USD/rfs_menu.aspx" frameborder="0" ID="z_iframe" WIDTH="10 0%" HEIGHT="100%"></IFRAME> </body></html> 1) Note the inclusion of the msgtext.js file. The javascript menus seem to need it. 2) The IFRAME is the important part. As far as service desk is concerned, you are viewing an htmpl page. Yet the content of the IFRAME is expanded to fill the entire "content frame" window. ISSUES: If you re-direct the analyst to your own web pages, Service Desk sees NO activity. Consequently, your connection may timeout once you switch back to Service Desk's pages. You could use a web service, an AJAX xmlHttp request, or whatever to keep your session from timing out. STEP 2: Add a menu item, button, etc to call the new page. I don't know if anyone would find this useful, but I sure have. Also, given that I am NO programming wizard, there probably is a MUCH easier way to do this, if someone knows of a way, please let me know.

Upload: subbarao-mahendrakar

Post on 15-Jan-2016

215 views

Category:

Documents


0 download

DESCRIPTION

webp

TRANSCRIPT

Page 1: Displaying Your Own Web Pages Within Service Desk

STEP 1: Create a custom .htmpl form.

For example:

<!-- <PDM_IF 0>rfs_menu.htmplWHEN PRESENTED:    Form for analysts to select a Category    Custom Form ; not included in 6.0 release    Created 8.14.2005 DES</PDM_IF> --><html>  <head>    <SCRIPT LANGUAGE="JavaScript" SRC="$CAisd/scripts/msgtext.js"></SCRIPT>    <PDM_INCLUDE FILE="std_head.htmpl">    <PDM_INCLUDE FILE="styles.htmpl">  </head>  <body>    < PDM_INCLUDE FILE="std_body.htmpl" [menubar="yes"]>      <IFRAME SRC="http://onw2kusd1/USD/rfs_menu.aspx" frameborder="0" ID="z_iframe" WIDTH="100%" HEIGHT="100%"></IFRAME>  </body></html>

1) Note the inclusion of the msgtext.js file. The javascript menus seem to need it.

2) The IFRAME is the important part. As far as service desk is concerned, you are viewing an htmpl page. Yet the content of the IFRAME is expanded to fill the entire "content frame" window.

ISSUES:

If you re-direct the analyst to your own web pages, Service Desk sees NO activity. Consequently, your connection may timeout once you switch back to Service Desk's pages. You could use a web service, an AJAX xmlHttp request, or whatever to keep your session from timing out.

STEP 2: Add a menu item, button, etc to call the new page.

I don't know if anyone would find this useful, but I sure have. Also, given that I am NO programming wizard, there probably is a MUCH easier way to do this, if someone knows of a way, please let me know.