Allow users to change password in RDWeb portal

This is one of those features that should be enabled by default, right? Sorry, but there is actually a few steps in there, and some of them could be a bit difficult if you are not familiar with web code.

To start off, browse to RDWeb/Pages in IIS Manager. Open Application Settings.

IISRDWebPagesApplicationSettings

There you will find a setting named PasswordChangeEnabled. Make shure it has true as value.

IISRDWebPagesApplicationSettingsPasswordChangeEnabled

Now open Explorer and browse to C:\Windows\Web\RDWeb\Pages. There is two files we need to edit here.

  1. \Sites.xml
  2. \en-US\RDWAStrings.xml

Let’s start with Sites.xml. Open it in notepad, or another text editor. Far down in the file, inside XML tag <xsl:template match=”/RDWAPage/NavBar”>  you find a TD tag with the class cellSecondaryNavigationBar. The table within this class is the one that controls the Help and Sign Out menu at the website

RDWebLocationOfClasscellSecondaryNavigationBar

My goal is to put another link there named Change Password. To do so, I need to add the following to the code. (The highlighted code is what I added)

<td class="cellSecondaryNavigationBar">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td>
        <a id='PPORTAL_CHANGE_PASSWORD' href="password.aspx">
          <xsl:value-of select="$strings[@id = 'ChangePassword']"/>
        </a>
      </td>
      <td width="15"> </td>
      <td>|</td>
      <td width="15"> </td>
      <td>
        <a id='PORTAL_HELP' href="javascript:onClickHelp()">
          <xsl:value-of select="$strings[@id = 'Help']"/>
        </a>
      </td>
...

Then we need to update the file containing all the Language strings. Open the en-US subfolder, and then edit RDWAStrings.xml using something like notepad.

Somewhere inside <rdwastr:strings ...> add <string id="ChangePassword">Change password</string>.

Now, go to your RDWeb page and sign in. At the upper right you should have a new link.

RDWebChangePasswordLink

Your users are now able to change their password without having to call you, and that’s a good thing!

Advertisements

2 comments

  1. Thanks for this article. I applied this and have the new link which successfully calls the password.aspx script. However, the domain\username is not filled in so I do it manually. Then, after entering the current password and new password, I get an error message that the user name and password are incorrect. Can you help?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s