Clarity PPM

Expand all | Collapse all

Is URL redirect working in 15.2 and later

Jump to Best Answer
  • 1.  Is URL redirect working in 15.2 and later

    Posted 12-10-2017 05:27 PM

    The URL redirect first posted by Paul Maxwell allows to direct the user to a page different from the one to which the system normally would direct the user.

    At the end of the old thread two posters report that it no longer works in the recent version.

    I am just posting this as a new question to get more attention in order to attract more attention.

    The old thread is

    URL Redirect to a Clarity Page 

  • 2.  Re: Is URL redirect working in 15.2 and later

    Posted 12-11-2017 02:12 AM

    This is known not to work and documented here:… 

    Create an HTML Portlet in Studio

    Use this procedure to create an HTML portlet.


    • The primary purpose of HTML portlets is to display static data. 
    • Do not introduce your own embedded Javascript inside HTML portlets. The injection of custom code with redirected links or references to dynamic external resources is not supported.
    • Do not use the Javascript document.write command in HTML portlets.
    • Do not reload the current page, such as setting window.location.href in Javascript. CA PPM is a single-page Ajax-style application. Reloading the page is not optimal and can result in loss of application state data.
    • Always test and verify the compatibility of your CSS style names.


    This portlet would contain Javascript and document.write, which is against at least the three first points.


    Hope that this answers your question.

  • 3.  Re: Is URL redirect working in 15.2 and later
    Best Answer

    Posted 12-11-2017 07:49 AM

    Hiurmas ,


    My re-direct is working fine, however any web page file in Knowledge store is getting downloaded in 15.2 and above, even after removing download parameter from url.


    Please find a basic redirect which is working fine on 15.3 version for me.

    <!DOCTYPE html>
    <style type="text/css">
      html, body, div, iframe { margin:0;padding:0;}
      iframe { display:block; width:100%; border:none; }
    var url1 = window.location.href;
      alert("URL Link"+url1);
    var Get_FromUrlID = url1.indexOf("&Project_ID="); 
    var Get_ID= url1.substring(Get_FromUrlID + 12, Get_FromUrlID + 19);
      alert("URL Get_ID"+Get_ID);
      var myiframe =document.getElementById('myiframe');
      myiframe.src = "../niku/nu#action:projmgr.projectProperties&id="+ Get_ID ;
    <iframe id="myiframe" frameborder="0" border="0" height="600"></iframe>


    check if this sample script work for you, also if anyone has solution to avoid Knowledge store web page files getting downloaded in html porltet, do let us know.



    Prashank Singh