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
Hi @Ajay37,
on the data sources click the edit option:)
and it like this:
Let me know if that helped
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @GlideFather ,
Thank you for your response. I need to just show the logged-in user as default selected value but I further need to allow the user to select the other values from available list. With the solution you have provided, we can only get the current logged-in user record and it won't show any other data.
Regards,
Rakesh Gudisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Ajay37 ,
I don't think so you will be able to default by that code snippet.
Because I tried here once I save this filter and exist saving mode and go again the it erased the code entered in default value box. It allows you to select only users.
Thanks,
Bhimashankar H
-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Bhimashankar H ,
Thank you for your response. I am also seeing the same behaviour.
Regards,
Rakesh