Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Modding the Winuser Console so Users Can View Their Own Tickets but Not Create New Ones

Updated: 08 May 2008 | 4 comments
diluzio's picture
+1 1 Vote
Login to vote

Do you publish your Winuser console to all users to view their Helpdesk Tickets? Do you worry that they have access to 'Create a new incident' and 'Request access to a resource'? Have you wondered how you can change that without disrupting your current Helpdesk users and consoles, as well as countless hours of changing and testing security settings? Here's how, in a few easy steps, to modify this worrisome page.

Here is the default Winuser console:

First is how to remove or hide the 'Common Requests', as well as 'Search for services containing':

To do this, you will need to edit the subServiceCatalog.ascx, found in \Program Files\Altiris\Helpdesk\AeXHD\templates\. Make sure to remove the Read only property, so you can save your edited file.

Remove these two sections:

  <aw:Repeater ID="rptCommonTasks" RunAt="server" DataSourceName="CommonTasks">
    <ItemTemplate>
      <div>
        <b>
          <aw:HyperLink runAt="server" Text='<%# Container.DataItem("workitem_task_resolved_name") %>' ImageUrl="icnRun" NavigateURL='<%# Container.DataItem("workitem_task_resolved_url") %>' ToolTip='<%# Container.DataItem("workitem_task_resolved_comment") %>' Target='<%# Container.DataItem("workitem_task_url_target") %>' />
        </b><br />
        <div style="margin-left: 20px;">
          <%# Container.DataItem("wuci_comment") %><br />
        </div>
      </div>
    </ItemTemplate>
  </aw:Repeater>

And

  <ItemTemplate>
    <table cellspacing="0" border="0" width='<%# GetColumnWidth() %>'>
      <tr>
        <td width="1" height="1" valign="top">
          <aw:image runat="server" width="50" height="50" visible='<%# (Container.DataItem("image_file") <> string.empty) %>' imageurl='<%# "~/connect/sites/default/files/img/categories/" & Container.DataItem("image_file") %>' ID="Image5"/>
        </td>
        <td height="1" valign="top">
          <div>
            <b><a href='<%# GetFindLink(Container.DataItem("item_guid").ToString()) %>'><%# Container.DataItem("name") %></a></b>
          </div>
          <div>
            <%# Container.DataItem("description") %>
          </div>
        </td>
      </tr>
    </table>
  </ItemTemplate>

Then edit this section, adding visible="false" at the end:

<aw:ControlBar id="cbSearch" runat="server" CssClass="clsBar" ColSpan="2" width="100%" Expand="imgEnd">
<aw:Label id="lblSearch" runat="server" text="sidLblSearchForServices" wrap="false" visible="false" />
<aw:TextBox id="tbSearch" runat="server" width="200" visible="false"/>
<aw:Button id="btnSearch" runat="server" Text="sidSearch" OnClick="DoContinue" visible="false" />
<aw:Image ID="imgEnd" runat="server" ImageUrl="spacer" visible="false" />
</aw:ControlBar>
<aw:Separator ID="sepSearch" Runat="server" width="100%" ColSpan="2" visible="false" />

If you simply remove this section, the page will error out, so it is necessary to mark them as visible="false".

The results will yield:

But, the asterisk is still visible, which users can click to create a new incident:

So by editing the web.config (C:\Program Files\Altiris\Helpdesk\AeXHD\winuser) and adding privileges="privAdminister" to remove the icon to create new item for the icon on the top of the console (for non-admins):

<command id="newItem" moduleID="TemplateModule" name="sidNewItem" description="sidNewItemDesc" privileges="privAdminister" >

Now you will have a WinUser console for your end users to only display their incidents only.

Comments

dfnkt_'s picture
08
May
2008
0 Votes 0
Login to vote

No custom folder/custom.config?

Why no suggestion to create a custom folder in the root of AeXHD and copy the subServiceCatalog.ascx file to it and work with that file? Not only is this a best practice but it will preserve your modifications through an upgrade process as the installer/uninstall shouldn't touch anything that it didn't create.

As always you would need to add a custom.config and point the system to the new file you wish to use and then restart IIS which would *temporarily* disrupt users (for 10 seconds?).

Birhanu's picture
12
May
2008
0 Votes 0
Login to vote

Users having problem viewing their own tickets

Hello there, my users are having issues viewing their own tickets. It's not all users, just a handfull of them being unable to view it. There is a place holder in what's supposed to be a list of their tickets that they previously opened. What do you think is the problem with my user console configuration?

Birhanu

Birhanu Dererei Athenahealth, Inc. bdererei@athenahealth.com

Shepherd.Wesley's picture
24
Sep
2008
0 Votes 0
Login to vote

Removing the Edit My Info Button

Would it be possible for you to share how to remove the "Edit My Info" button from the Winuser console?

jthaker's picture
01
Oct
2009
0 Votes 0
Login to vote

Only removing the Request Access to a Resource Link

Is it possible to just remove the request access to a resource hyperlink from the common tasks and not all of the common tasks?