Skip to content

Commit 06a92f7

Browse files
authored
Update readme.md
1 parent b45fd85 commit 06a92f7

File tree

1 file changed

+3
-2
lines changed
  • Catalog Client Script/MRVS Interact With Parent Form

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
Use this code snippet to interact with the parent form (i.e the main catalogue item) from within a catalog client script on a Multi-row variable set.
1+
Use this code snippet to interact with the parent form (i.e the main Cataloge Item) from within a Catalog Client Script that applies to a multi-row variable set.
22

3-
The g_service_catalog object allows for accessing the "parent" GlideForm (g_form) object and its related functions
3+
The g_service_catalog object allows for accessing the "parent" GlideForm (g_form) object for getValue only (for now?)
4+
To affect a variable in the main catalogue item using setValue, clearValue, etc. parent.g_form... is available in the native UI, and this.cat_g_form... can be used for Service Portal, etc if an additional Catalog Client Script is used, this one onLoad that Applies to the Catalog Item (not the MRVS).

0 commit comments

Comments
 (0)