- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 11:37 AM
Hi All,
Can someone please help me with the catalog client script?
I have two field
1) select_the_type_of_access_required
2) u_description
I need an on change catalog item script
when I select the "type of access" the description should auto fill itself.
Custom table name " u_Azure_role
I have something in place but it wont work 😞
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 11:52 AM
Hello @Thomas98 ,
Is select_the_type_of_access_requireds a reference field?
If so, replace
g_form.setValue('description',u_azure_roles.u_description);
with
g_form.setValue('description',user.u_description);
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 10:53 PM
Hello @Thomas98
You have to use Script Include Call using client script-
Please open the above link and complete your requirement.
Please mark correct answer and helpful for others if it helps you
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 06:43 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 11:50 AM
hi Thomas,
Is select_the_type_of_access_requireds a reference field?
If so, replace
g_form.setValue('description',u_azure_roles.u_description);
with
g_form.setValue('description',user.u_description);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 08:17 PM
Hi Jaspal.
Hope you are doing well. The variable is a lookup select box. Can this work with look-up select box?
I tried your solution with a reference variable and it worked.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 09:39 PM
Hi Thomas,
If you want to keep it as lookup selectbox you will need to use Script include and Client Script to get it work. If reference works, then I suggest to use it as is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 11:52 AM
Hello @Thomas98 ,
Is select_the_type_of_access_requireds a reference field?
If so, replace
g_form.setValue('description',u_azure_roles.u_description);
with
g_form.setValue('description',user.u_description);
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.