How to set logged-In user as default Value in MultipleSelect filter in PlatformAnalytics Dashboard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Everyone,
I am trying to set currently logged in user as default value in Multiple Select filter placed on the Dashboard. I tried by setting javascript: gs.getUserID() in Default value field, but it is not allowing me to save as it is expected the value to be selected from available referenced values in Default Value field. Can anyone help me on giving inputs to achieve it. Please find the attached screenshots for reference.
- Labels:
-
Service Operations Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
It seems it won't allow to default the values using code snippet. Because when you select a date it shows some available data filter option like Last 3 month, last 6 Month, YTD those only can be defaulted.
-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!
Thanks,
Bhimashankar H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@GlideFatherand @Bhimashankar H Is there any other way that we can achieve it from UI builder, as this dashboard has been placed on workspace homepage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Try using technical editor and follow below link for sample,
https://developer.servicenow.com/blog.do?p=/post/quebec-ui-builder-lists/
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan