Need to show options which is restricted by query BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 12:07 AM - edited 09-27-2023 12:08 AM
Hi Team,
We have a record producer where we have reference variable named ABC reference to CMDB site table(custom table). There is a before Query BR written on it which hide records whose organisation is XYZ.
I need to to show that record whose organisation is XYZ to only that record producer.
Can anyone guide me is this possible ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 12:49 AM
@Kunal33 You can try this approach, create a Select Box field and populate the choices from client script. In the client script you can try using GlideAjax to a script include which returns the choice values. The script include calls the Scripted REST API which queries the table and returns the site values, because we differentiate the session if it is through REST API.
This is just an Idea, need to try whether it works or not.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 12:57 AM
Oks will try that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 01:09 AM
@Kunal33 Let me know if it worked.
Anvesh