Novell Home

Creating a Custom Help Desk Page for iManager

Novell Cool Solutions: Tip
By Wolfgang Schreiber

Digg This - Slashdot This

Posted: 21 Mar 2007
 

Problem

A Forum reader recently asked:

"I am trying to create a custom page for our help desk that gives certain information, such as surname, given name, full name, etc. I can get everything into the form but the ability to change the user's password. What do I need to do to allow me to have this choice in the form? I don't want to use the canned "HelpDesk" that is already created in iManager, because we want a form for the help desk to use."

And here's the response from Wolfgang Schreiber ...

Solution

For a quick and dirty solution, take a look at the page:

\nps\portal\modules\base\skins\default\devices\default\pShared_PasswordRestrictions.jsp

Copy the 2 setpassword parts (see below) into your page.

Note: There may be multiple files with the name pattern "<page ID>_[date]_[time]" - make sure to modify the most recent one. Insert the snippets at the correct location, e.g right after the "</TABLE>" at the end of the file.

Part 1

<script>
      <%-- Used to launch the set password task --%>
      function setPassword()
      {
         window.open("frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=fw.SetPassword&launcher=fw.LaunchService&lifecycle=new&targetNames=<%= 
c.urlEncode(c.var("eDir$target")) %>", "", 
"toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,width=550,height=400");
      }
</script>

Part 2

<a href="javascript:setPassword();"><%= c.string("SetPassword") %></a>


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell