Friday, July 10, 2015

Popup/tooltip Functionality in Obiee11g


The Popup/tooltip functionality is same as Mouse-Over functionality which is very useful in case anyone want to avoid drill down feature.
Here are the steps to implement in BI.
1.       Create the new report you want to use as a Popup report and make the column is prompted on which you want to implement this feature.

2.       In the main report, add following script in Static Text view.
<script type="text/javascript" src="/jquery.min.js"></script>
<script type="text/javascript" src="/tipped-3.2.0.1/js/tipped/tipped.js"></script>
<script type="text/javascript" src="/tipped-3.2.0.1/js/excanvas/excanvas.js"></script>
<link rel="stylesheet" type="text/css" href="/tipped-3.2.0.1/css/tipped/tipped.css"/>





3.       Add the Static text view in compound layout which you will be exposing in the dashboard.


4.       Update the formula for the column on which you want to implement popup feature.



'<div id="popup' ||"Opportunity"."Opportunity ID"|| '">
' ||"Opportunity"."Opportunity ID"||
' </div>'
||'<script type="text/javascript">
$(document).ready(function()
{Tipped.create("#popup' ||"Opportunity"."Opportunity ID"||'",
"saw.dll?Go&path=%2Fshared%2FSI Fusion%2FSI Pipeline and Forecast%2FMy Top Deals%2FTop Deals (tipped details)&Action=extract&p0=1&p1=eq&p2=%22Opportunity%22.%22Opportunity%20ID%22&p3='||"Opportunity"."Opportunity ID"||'",
{ajax: true,
skin:"white", 
hook: "bottomright", 
border: { size:1}, 
afterUpdate: function()
{}
} );
});
</script>'
Because the column formula does not include the whole script (it references to the scripts loaded in the Narrative View) we will get a “Formula syntax is invalid” error:


We can ignore it, as it will work correctly with the whole script at the report execution.

5.      We need to override Default Data Format in order to treat text as HTML:





6.       Here is the final output.



For reviewing this feature, you can refer to SI Pipeline and Forecast dashboard - > My Top Deals (Testing) tab in SI DEV.

21 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. I cant load the report ...looks like your code in static text is pointing to the BI server directory. Please let me know if anything else is needed.

    ReplyDelete
  3. Hello can you please reply. we are trying to implement this in OBI12c. If you could response that will be helpful.

    Nirav

    ReplyDelete
  4. Nirav , get some help from here : http://www.clearpeaks.com/blog/oracle-bi-ee/pop-effect-in-obiee-using-jquery , this blog pretty much mimic from above.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. there is some missing information here. Post is not complete.

    ReplyDelete
  8. Agreed with niku ... there are couple of moving pieces and some of them are missing . I am trying to blog this but getting has no time but I made it work ! so if you wait someday I can

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Hi Guys, I have implemented this one. please give me your mail id, will forward that document

    ReplyDelete
    Replies
    1. ndpatel588@gmail.com
      Thanks for sharing your solution. Greatly Appreciated Man.

      Delete
    2. Hi there,
      when you think you will be able to share the document ?

      Delete
    3. Narayana
      please mail me the document
      nachiketa8040@gmail.com

      Delete
    4. Hi Can you share the document to karthik30893@gmail.com

      Delete
    5. Hello Narayana,

      Can you please share the Doc.

      Email: joy24mukherjee@gmail.com

      Delete
  11. ndpatel588@gmail.com

    appreciated Man.

    ReplyDelete
  12. Replies
    1. Can you please share your OBIEE Pop Up document? I am trying to implement the same. My email id is advait.deshpande@fmr.com

      Delete
    2. Look at my blog here and I have clarified why it is not working in some other threads ... https://debaatobiee.wordpress.com/2018/01/17/obiee-popup-tooltip-mouse-hover-effect/

      Delete
  13. Look at my blog here and I have clarified why it is not working in some other threads ... https://debaatobiee.wordpress.com/2018/01/17/obiee-popup-tooltip-mouse-hover-effect/

    ReplyDelete