locked
Hyperlink from KPI in PPS 2010 RRS feed

Answers

  • Hi Rohit,

    It is mostly the same procedure, but there are a couple of changes -

    1. Copy redir.aspx to
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\PPSWebParts

    (or anywhere under layouts)

    2. Use the URL http://servername/_layouts/ppswebparts/redir.aspx.

    3. Also, you’ll want to edit redir.aspx (since our endpoint names have changed) and change the following line –

            string reff = Request.Params["EndPoint_URL"];

    Thanks.

    -josh 

    • Proposed as answer by JanakaV Monday, October 18, 2010 9:14 PM
    • Marked as answer by Heidi Tr - MSFT Monday, January 10, 2011 8:42 PM
    Wednesday, August 4, 2010 7:56 PM
  • 1) create redire.aspx page

    <%@ Page Language="C#"%>
    <% string js = @"
            <script language=""javascript"">   
    window.parent.navigate(""{0}""); </script>";   
    string reff = Request.Params["EndPoint_URL"];
    if (!string.IsNullOrEmpty(reff))
    Response.Write(string.Format(js, reff));
    %>

    2) place that at

    Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\PPSWebParts

    3) In dashboard designer create 'Other Reports'- Web page.

    give URL which will point to above page in URL box.

    4)Create KPI and in properties page create Hyperlink and enter URL of page you want to redirect to.

    5) On Dashboard page get the score card and the webpage report.

    6) create connection of hyperlink property u created with URL property of webpage report.

    7) deply dashboard. you are done.

    clicking on KPI will redirect to given URl.

     

    ----mark as answer if i really answered you.


    ++
    Monday, April 25, 2011 9:10 AM

All replies

  • Hi Rohit,

    It is mostly the same procedure, but there are a couple of changes -

    1. Copy redir.aspx to
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\PPSWebParts

    (or anywhere under layouts)

    2. Use the URL http://servername/_layouts/ppswebparts/redir.aspx.

    3. Also, you’ll want to edit redir.aspx (since our endpoint names have changed) and change the following line –

            string reff = Request.Params["EndPoint_URL"];

    Thanks.

    -josh 

    • Proposed as answer by JanakaV Monday, October 18, 2010 9:14 PM
    • Marked as answer by Heidi Tr - MSFT Monday, January 10, 2011 8:42 PM
    Wednesday, August 4, 2010 7:56 PM
  • hi,

    I used above method on my KPI. redir.aspx file looks like:

    <%@ Page Language="C#"%>
    <% string js = @"
            <script language=""javascript"">   
    window.parent.navigate(""{0}""); </script>";   
    string reff = Request.Params["EndPoint_URL"];
    if (!string.IsNullOrEmpty(reff))
    Response.Write(string.Format(js, reff));
    %>

    When i click on KPI it redirects me to next dashboard page, But, problem occurs when i click browser back button on second page. It takes me to first KPI page but again redirects to second page on its own.

    This doesnt happen if i click on KPI page link in 'dashboard page navigation'

    Pls help. thanks in advance.

     

    Wednesday, December 15, 2010 4:36 AM
  • This code will help you to solve your requirement.
    Just now i got it worked so I am posting this for others reference.

     

    <%@ Page Language="C#"%>
    <% string js = @"
            <script language=""javascript"">
            window.open(""{0}"");</script>";
            string reff = Request.Params["EndPoint_URL"];  
            if (!string.IsNullOrEmpty(reff))
                Response.Write(string.Format(js, reff));
    %>

    Thanks


    Please click the 'Mark as Answer' button if my Reply helped you to solve your problem! Thanks M.Mahendra
    Wednesday, February 9, 2011 11:06 PM
  • thanks for your reply mahendra.

    I want to open the link in same Browser page itself. That is why i used 'window.parent.navigate'.

    Regards,

     


    ++
    Monday, March 7, 2011 11:31 AM
  • What about window.location.href?  
    Monday, March 7, 2011 2:54 PM
  • it will not work as it will open in IFrame where redir report is being shown.

    Rather I could have used 'window.parent.location.href' but it will function same as "window.parent.navigate" and the problem of history.goback will persist.


    ++
    Thursday, March 10, 2011 7:33 AM
  • The link given in Rohit Kapoor's first item in this link is not opening.

    Does anybody have the revised link ?

    i need this urgently as I am facing this same problem and want to experiment on this asap.

     

    Sanjay Shah

    sanjay@prosysinfotech.com

     

    Monday, April 25, 2011 8:35 AM
  • 1) create redire.aspx page

    <%@ Page Language="C#"%>
    <% string js = @"
            <script language=""javascript"">   
    window.parent.navigate(""{0}""); </script>";   
    string reff = Request.Params["EndPoint_URL"];
    if (!string.IsNullOrEmpty(reff))
    Response.Write(string.Format(js, reff));
    %>

    2) place that at

    Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\PPSWebParts

    3) In dashboard designer create 'Other Reports'- Web page.

    give URL which will point to above page in URL box.

    4)Create KPI and in properties page create Hyperlink and enter URL of page you want to redirect to.

    5) On Dashboard page get the score card and the webpage report.

    6) create connection of hyperlink property u created with URL property of webpage report.

    7) deply dashboard. you are done.

    clicking on KPI will redirect to given URl.

     

    ----mark as answer if i really answered you.


    ++
    Monday, April 25, 2011 9:10 AM
  • Hi Abhijeet,

    Thanks for your quick response.

     

    Sanjay

    Monday, April 25, 2011 9:14 AM