Hide some parameters and show other parameters in passing parameters through url
I wanted to hide some parameters and show other paramters while passing parameters through url. For example i am having two parameters region and date wanted to hide region parameter and show date parameter which can be controlled by user.
-
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
-
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.
Please sign in to leave a comment.
Comments
3 comments