Capturing Script Includes in a Update set, which are called in variables and client scripts

Isac Newton
Tera Contributor

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? 

 

1 ACCEPTED SOLUTION

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.

View solution in original post

4 REPLIES 4

Ashir Waheed
Kilo Sage
Kilo Sage

Hi @Isac Newton 

 

You have to Manually add all the script includes in the Update set. 

  1. Identify the catalog item(s) for which you want to capture the related script includes.
  2. Open the form for the catalog item(s) and review any reference qualifiers used for variables or any GlideAjax calls used in client scripts.
  3. Make a list of the script includes that are being called in the reference qualifiers or GlideAjax calls.
  4. Open the script include(s) and add them to the update set manually.

Regards,

Ashir Waheed

So, there is no way to do that using script?

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.

Thank You!