Hide some parameters and show other parameters in passing parameters through url

Comments

3 comments

  • Avatar
    Moti Granovsky

    Hi Sunil, could you elaborate some more, and describe in detail your current implementation?

    For a start: Are you using an iFrame to embed Sisense dashboards? Where do you wish to hide these parameters from? 

    Thanks,

    0
    Comment actions Permalink
  • Avatar
    Sunil B

    Hi Moti Granovsky,

    I am using iframe for embeding dashboard. I am having 2 filters in my dashboard as dashboard level filters.

    For example i am having region filter and date filter. When we use "r=false" in the embeded url it hides entire filter section.

    So here i need to hide region filter and show date filter is there any customization for it to do in url.

    Thanks 

    Sunil B

    0
    Comment actions Permalink
  • Avatar
    Moti Granovsky

    Hi Sunil,

    I understand now. Unfortunately, there is no URL parameter you could use to hide specific filters from the filters panel, only to hide the entire panel.

    To hide specific filters, you will need a dashboard script or plugin to run when the dashboard loads, and hide the desired filters from the UI. That is similar to this post: https://support.sisense.com/hc/en-us/community/posts/360020718274-Filter-For-Specific-Users And generally is pretty simple to develop, especially if you need to only visually hide it.

    You could, if desired, develop a plugin that looks for a custom URL parameter and hides the filter if it is present, to achieve exactly the functionality you envisioned.

    0
    Comment actions Permalink

Please sign in to leave a comment.