Project and Portfolio Management Practitioners Forum
cancel

Is there a way to block the usage of a specific browser (software) in PPM?

SOLVED
Go to solution
Highlighted
jsalass
Honored Contributor.

Is there a way to block the usage of a specific browser (software) in PPM?

Hi there,

 

Do you know if there a way to block the usage of a specific browser (software) in PPM?

 

Customer users use Chrome for a lot of internal application. However, Chrome is not supported for PPM.

 

Since users are very used to use Chrome, they sometimes open PPM in this browser and work without any problem. However, some other times using Chrome will affect the data being store in the database since there are rules not being fired correctkly, tokens not being resolved, etc.

 

The PPM admin wants to avoid their users using Chrome for PPM and this is why there are looking for any code to be use in the logon page to avoid using the browser.

 

Please let me know if you have something.

 

Thanks a lot.

Jonathan

4 REPLIES
Derek Giedd
Honored Contributor.

Re: Is there a way to block the usage of a specific browser (software) in PPM?

I do not think there is a way to achieve this, but you may try having users (or the system administrators) install one of the available IE Tab extensions for Chrome.  You can set the URL of your PPM instance to always run in the IE Tab within Chrome.

 

-- Remember to give Kudos to answers! (click the KUDOS star)
Utkarsh_Mishra
Acclaimed Contributor.
Solution

Re: Is there a way to block the usage of a specific browser (software) in PPM?

Well, so far I am not aware that PPM has any capability to block any specific browser.

 

Secondly I won't encourage you to go ahead and modify the JSP code and include any Java script code to block Chrome browser.

 

 

If the issue is with ONLY Request types and its rule then the best option is to create UI rules and invoke it in Request ype on "Page Load" event. If the Browser is Chrome then DO NOT allow user to proceed and also display the alert to use IE or any other browser.

 

UI rules are well supported by HP and the advantge is that it is not consider as customization to the Product. Here is a good link to create your UI rule, this JS identifies the client browser. You can take help from this to create your UI rule funtion in JS.

 

http://www.echoecho.com/jsbrowserdetection02.htm

 

Option 2 is to train the end users or probably just display the message on Logon screen that "The site best work on IE.....".

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
pepdwill
Honored Contributor.

Re: Is there a way to block the usage of a specific browser (software) in PPM?

The Chrome issue was beyond just an inconvenience for us.  We actually had corrupt data enter the system as a result of the errors.   Obviously modifying the JSP files isn't ideal... HP should really make PPM work with Chrome.  That said, we had no real option other than to apply this fix due to the risk of bad data.

 

Here was the solution:

 

Files Modified:  (assuming version 9.22):

  1. \server\HPPPM\deploy\itg.war\web\new\logon.jsp
  2. \server\HPPPM\deploy\itg.war\web\knta\global\Header.jsp

Insert the following block of code right before the </head> tag in each file.

 

<script type="text/javascript">

var version = navigator.appVersion;

var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;

 

if(is_chrome) {

alert("Chrome is not supported.");

//window.location.href = "http://www.redirectURL.com";

}

</script>       

 

 

We decided to warn the users on the logon page with just the alert and no redirect.  In the Header.jsp we are giving the alert and then redirecting the users to a different website. 

 

After updating the files it'd be necessary to run a  kUpdateHtml.

 

Enjoy.

 

 

-Danny

jsalass
Honored Contributor.

Re: Is there a way to block the usage of a specific browser (software) in PPM?

Thank you Pedwill! Great info KUDOS to you!