- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2019 09:16 AM
Here's what I'm trying to do. From a list view, the user filters the list. Then they click a list link UI action which will copy the query to send to a GlideRecord as the encoded query. Is this possible?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2019 04:01 AM
Hi Sheryl Lyke,
You can use this function in the client part of the UI action : https://developer.servicenow.com/app.do#!/api_doc?v=newyork&id=r_GL2-getQuery_B_B_B_B
Then you can simply add an info message to display the encoded query
Regards,
Audrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2019 09:19 AM
If it's an admin user, they should be able to right-click the filter's breadcrumbs and select Copy Encoded Query. Is that not sufficient? Are these non-admin users you're talking about?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2019 09:22 AM
Correct, non admin users. And I want it to happen when they click a button, not manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2019 12:48 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2019 04:01 AM
Hi Sheryl Lyke,
You can use this function in the client part of the UI action : https://developer.servicenow.com/app.do#!/api_doc?v=newyork&id=r_GL2-getQuery_B_B_B_B
Then you can simply add an info message to display the encoded query
Regards,
Audrey