Add Additional Tabs to Sisense Header Row

Comments

16 comments

  • Avatar
    Michael Becker

    Quite nice :) Any chance to make those links appear differently on iPad? Currently they are displayed directly under filter button and are hard to use.

    0
    Comment actions Permalink
  • Avatar
    Malinda Jepsen

    Is there also a way to hide a dashboard?  For example, we only embed it and don't want users to access it directly.

    0
    Comment actions Permalink
  • Avatar
    Amy Scott

    Hello,

    This is a nice feature and has been very useful however the links do not open in a new tab but rather in the same window. This would be much better if it opening in a new tab rather than the same window as some people may need to navigate elsewhere while staying on the dashboard.

    1
    Comment actions Permalink
  • Avatar
    Andrew Block

    I agree with Amy is there a way to update this to open in a new tab instead of the same window?

    0
    Comment actions Permalink
  • Avatar
    Andrew Block

    For anyone wanting to open up the custom link in a new tab simply adjust the //Create Anchor line as follows:

    add "target=_blank" after '<a

    // Create Anchor
    var buttonAnchor = $('<a target="_blank" data-ng-disabled="nav.disable"

    1
    Comment actions Permalink
  • Avatar
    Evan York

    Any update to this plug-in to work with v7.0? 

    1
    Comment actions Permalink
  • Avatar
    Sanjoy Ghosh

    I am using Sisense Version: 6.7.1.14504, addButtons for version 6 is not available, is there any update on this? 

    0
    Comment actions Permalink
  • Avatar
    Hemant Pathare

    Is there a way to show different links to users based on user group

    0
    Comment actions Permalink
  • Avatar
    Ravid Paldi

    @Hemant,

    Yes, it is possible. It requires some upgrades for the script's logic though. 

    There are several ways to achieve that, each one have pros and cons like anything else in the world (: 

     

    Feel free to reach out, we do many similar projects for clients and I'd be happy to give you some pointers on how you should implement it

    ravid@paldi.solutions

    Paldi Solutions

    0
    Comment actions Permalink
  • Avatar
    Hemant Pathare

    I was able to achieve this functionality of showing different links based on user groups by checking for prism.user.groups in the addbuttons.js file. Thanks

    0
    Comment actions Permalink
  • Avatar
    Hamza Jap-Tjong

    How can I make it open in a new tab when you are using v7+? Cannot find the anchor as being referenced in earlier post

    1
    Comment actions Permalink
  • Avatar
    Orion Newman

    Can this be updated to work with version 8+?

     

     

    1
    Comment actions Permalink
  • Avatar
    Benedict Ji

    Can we have a working solution for the latest  version, over 8 ?

    0
    Comment actions Permalink
  • Avatar
    Ravid Paldi

    Hi Benedict Ji, Hemant Pathare & Orion Newman

     

    The Sisense DevX team had developed a great new API for manipulating the header in a constant and stable way. 

    You can read about it more in the link below:

    https://sisense.dev/reference/js/header.html

    We'll be launching a free and officialy supported plugin to the marketplace that does the fufunctionality that is described in this post. 

    Setting different menu options based on different user groups will be avaialbe in a Premium version of the plugin alond side few other possible enhancents. Feel free to suggest. 

     

    We'll be announcing it when it'll be live so feel free to issue me an email if you'de like to get notified when it is live. 

    Cheers,

    Ravid

    ravid@paldi.solutions

    Paldi Solutions - Gold Certified Partner 

     

    0
    Comment actions Permalink
  • Avatar
    Hemant Pathare (Edited )

    You need to use the header api for ver 8 ( https://sisense.dev/reference/js/header.html) to achieve this same functionality.

     

    /*************add header ****************/

    var header = prism.getApi('api.v1.header');
    header.addTab(({id: "cnn", title: "CNN", url: "www.cnn.com"}), "4");

    0
    Comment actions Permalink
  • Avatar
    Ravid Paldi

    Hi Everyone, 

     

    We've launched our HeaderManager plugin the marketplace plugin that simply utlize that new API into a simple plugin. 

    It is free and we will be officaly supproting. Feel free to reach out if you'de like to get access to it. 

    Please note that it is supported only on Sisense versions that has Header API in place. 

     

    Cheers,

    Ravid

    0
    Comment actions Permalink

Please sign in to leave a comment.