Call script include from catalog builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 05:51 AM
We are considering offering catalog builder to our service owners for them to maintain their own items. Pretty simple.
However, we want to limit the catalog items they can edit based on the catalog template>Available For.
I've written a script that works great (ran in background script), it returns the catalog item sys_ids that the user logged in can see.
However, when I try to apply it to the filter of the catalog builder, I'm not able to hit the script include.
My filter looks like this:
Sys ID IS ONE OF javascript: scriptInclude().function()
I threw in some log statements in the script but the result I get is:
Sys ID in undefinded
Is this doable? Maybe I'm overthinking this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 01:34 PM
Hi Matthew,
Any luck with your requirement? How you achieved?
