Hide Account link on ServiceDesk Portal Page
Created: 09 Nov 2012 | 4 comments
I need to hide the "Account" link on the ServiceDesk portal page as we do not want our users to make any changes to their account in ServiceDesk. ServiceDesk gets sync with AD each night so any changes to the account is done in AD and not in ServiceDesk. We are currently using ServiceDesk 7.1 SP2 verson. I have search in KB and also in ServiceDesk but did not find anyting which will help me.
Any help is appreaciated.
Thanks
Discussion Filed Under:
Comments 4 Comments • Jump to latest comment
Add a Visible="False" to the following line in <install>/ProcessManager/Controls/Header.ascx on your PM server (towards the bottom of the file)
<asp:Literal ID="litAccount" Text="Account" runat="server" Visible="False" meta:resourcekey="litAccountResource1" /></a>
This should hide the link... for everyone. :)
Hi Reecardo
Thank you for your quick response. When I added the Visible="Fales" comment, it now won't show the logon page at all which is strange. The page displayed ok after I removed the comment. Is this what it was supposed to do? I will try again later on to see if I made any mistake.
Cheers
As long as the tag is well-formed, the login page should still load.
You should just replace the following line in Header.ascx:
<asp:Literal ID="litAccount" Text="Account" runat="server" meta:resourcekey="litAccountResource1" /></a>
with:
<asp:Literal ID="litAccount" Text="Account" runat="server" Visible="False" meta:resourcekey="litAccountResource1" /></a>
Just copying and pasting the line above should work. I tested this locally in Firefox and IE and it's loads fine.
It works now! Not sure why it didn't work the first time. Thank you for your help.
Would you like to reply?
Login or Register to post your comment.