- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 11:28 AM
Trying to write a fixed query to only show records in a table with a matching location to the user opening the table.
Here is what I have for my filter:
&sysparm_fixed_query=u_location=javascript:gs.myUserObject.getLocation()
This returns "All > Location = (empty)
Any ideas what I'm missing?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 11:31 AM
Try this:
&sysparm_fixed_query=u_location=javascript:gs.getUser().getLocation()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 11:31 AM
Try this:
&sysparm_fixed_query=u_location=javascript:gs.getUser().getLocation()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 11:39 AM
Perfect! Thank you so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 05:11 AM
And could you tell how can we use this "sysparm_fixed_query=active=true" in scripts ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2018 06:48 AM
Hi Brad,
Is there a way to use the sysparm_fiexed_query in a widget for Portal ?
Regards,