Is it possible to use dynamic javascript filter in a report for a catalog variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 01:30 PM
I want to use this report in a service portal trough a report widget. So The report should customize for the user logging in. I am able to use the javascript dynamic filter in a list and also as encoded query in a custom widget but not in a report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 01:46 PM
@Arti Kumar : Can you dot-walk in your filter until the sys_id level, which gives you a free text field at the right? Currently looking into your screenshot, I see that on the right it's showing a drop-down. If this doesn't work can you give the exact filter condition you are using in the left filter as it sliced in the screenshot.
Example Filter: [Variables.Company.Sys ID] [is] [javascript:gs.getUser().getCompanyID()]
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 01:55 PM
Thanks for the reply.
Not able to get the free text option with this field. Here is the expanded form. I basically want the report to customize according to the customer logging into the service portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 01:59 PM
@Arti Kumar : "Requested For Subscriber" is what type of variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 02:05 PM
Reference type- core_company