Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Modify SearchTimeSheets.jsp

Highlighted
Ramazan1
Regular Collector

Modify SearchTimeSheets.jsp

Hello,

 

I want to modify the "Search Time Sheets" - Page. What I want to do is to deactivate the option "Period Type:" We just want to search over the option "Previous Time Periods to Show:" Attached you will find a screenshot and the SearchTimeSheets.jsp

 

Thank you in advance!

 

Regards,

Ramazan

 

3 REPLIES
jsalass
Frequent Visitor

Re: Modify SearchTimeSheets.jsp

Hi Ramazan1,

 

You just need to disable the period and period type variables. I mean to comment the lines where those variables are charge with the form settings.

 

Then you need to stop the PPM server, replace the jsp file with the one you modified and delete the temp and work folders (for all nodes).

 

Be sure you backup the file first in case you need to revert any change and also try this in dev before going to prod.

 

Hope this helps!

Regards,

Jonathan

d4y4n4
Frequent Visitor

Re: Modify SearchTimeSheets.jsp

After replace the file, compile the new JSP files using the following command:

sh kJSPCompiler.sh

Regards,
Dayana Campos
jsalass
Frequent Visitor

Re: Modify SearchTimeSheets.jsp

With deleting the temp and work folders the jsp will be recompiled automatically.

However, if you feel confortable running the command feel free to do it it will work as well.

Regards,
Jonathan
//Add this to "OnDomLoad" event