Dashboards links via the tag

(4 posts) (2 voices)


No tags yet.

  1. Jay, Member

    Love the product, great job.

    I am using mydbr to add charts to a dashboard. I have turned on chart links to external links and to other mydbr reports. This is all working but the link opens inside the object tag and I would like it to trigger a page refresh (set the <area> target="_top").

    Is there a way to configure mydbr to set the target in the report code or do I need to use javascript to add the attribute?



  2. myDBR Team, Key Master

    do you embed the chart using an object-tag? If you set the link report target to be 'new_window', it should open in a new window.

    myDBR Team

  3. Jay, Member

    Yes, they are in an object tag.

    Using "new_window" does work and that is better than inside the object tag, but I was hoping to keep it in the same window with just a full page refresh. Something like target="_top".


  4. myDBR Team, Key Master

    you can add the '_top' target with single line:

    select 'dbr.javascript', "$('area').attr('target', '_top');", 'onload';

    myDBR Team


You must log in to post.