- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 12:11 AM
Hello All,
We are working on a requirement to capture all the related records of a catalog items into a update set, using script.
By using the 'Add To Update Set' utility we are able to capture the catalog item, catalog, category, variables, variable sets. But, we are not able to capture the script includes which are been called in any reference qualifier of a variable or through Glide Ajax in a client script. Is there a possibility to identify all the script includes which are being used for a catalog item?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 03:36 AM
No, that's not possible to add all script include related to item in update set using script.
You have to manually check for all of them.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 02:31 AM
Hi @Isac Newton
You have to Manually add all the script includes in the Update set.
- Identify the catalog item(s) for which you want to capture the related script includes.
- Open the form for the catalog item(s) and review any reference qualifiers used for variables or any GlideAjax calls used in client scripts.
- Make a list of the script includes that are being called in the reference qualifiers or GlideAjax calls.
- Open the script include(s) and add them to the update set manually.
Regards,
Ashir Waheed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 03:17 AM
So, there is no way to do that using script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 03:36 AM
No, that's not possible to add all script include related to item in update set using script.
You have to manually check for all of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 03:40 AM
Thank You!