Service Desk Practitioners Forum
cancel

HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Highlighted
Rachid Jarouy_1
Trusted Contributor.

HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Hi,
I want to remove some lignes in SP Main Menu,
this can be done by commenting out the reqired lignes in MainMenu.jsp file.
can any body explain me with example how to acheive it.
for example i don't want the SP user to log incident,
please help.
thanks
beleve that workgroup give more and efficient result
7 REPLIES
Mark O'Loughlin
Acclaimed Contributor.

Re: HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Hi,

using an SP account the user will only be able to log and view servcie calls.

Using an aplication account (Named / Concurrent) the user will be able to add incidents, changes, problems , service calls etc. and modify them as per the roles allow.

So what modules the user can access in Servcie Pages is related to the 2 different types of accounts that can be used.
Stefan Sagstett
Trusted Contributor.

Re: HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Hallo,

you are thinking of the MainMenu.jsp file, I think.
First, you could just delete the lines containing the unwanted information. I for example delete the following passage:
 <%= bean.findLabel("SP_Incident") %> »


<% if ("incident".equals(request.getParameter("grp"))) { %>

 · <%= bean.findLabel("SP_NewIncident") %>

 · <%= bean.findLabel("SP_ListIncidentFullList") %>

 · <%= bean.findLabel("SP_ListIncidentRestrictedList") %>



<% } %>

The effect is, that the incident group is not shown anymore.

Second, You also can comment it out.
for the HTML parts
<%-- --%> for the JSP parts

Stefan
Rachid Jarouy_1
Trusted Contributor.

Re: HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Hi Stefan,
Thanks for your clarification, i tray your suggestion, i am using Notpad to open the jsp file (Mainmanu.jsp )this my give some problems?
once i did the modif i am getting Apache Tomcat error 4.0.3 with big errors,
can let me know witch editor can i use?
thanks.

Rachid.
beleve that workgroup give more and efficient result
Stefan Sagstett
Trusted Contributor.

Re: HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Hi Rachid,

I use JCreator, a freeware tool for editing java and jsp files. Sometimes I use Notepad++ that also is delivering syntax highlighting for java and jsp files.

The error might me the result of an uneven number of <% %>. I got that very often when beginning customizing our Service Pages. The syntax highlighting of an editor might help.

Stefan
Rachid Jarouy_1
Trusted Contributor.

Re: HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Dear Mark,
thanks for your help and clarification regarding SD ACCT,


beleve that workgroup give more and efficient result
Rachid Jarouy_1
Trusted Contributor.

Re: HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Dear Stefan,
Many thanks, this is what i was looking for the Jcreator help to modify the MAinMenu.jsp without any problem.
thanks all for your participation,
beleve that workgroup give more and efficient result
Rachid Jarouy_1
Trusted Contributor.

Re: HO OV SD 4.5 Servicepages MainMenu modification (jsp file)

Thanks all for for your help
i recomende this for who want to do any jsp modif.
thans,
beleve that workgroup give more and efficient result