- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 01:17 AM
Hi all,
Is there a way to get the value of the company of an assignment group on a form from a client script ?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 01:25 AM
Hi Will,
Do you mean Assigned To person's Company? You need a combination of Script include & client script for it. Follow link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 12:46 AM
this was the best option rather than assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 01:27 AM
You can also use getReference method:
function onChange(control, oldValue, newValue, isLoading)
{
var assig_gr = g_form.getReference('assignment_group', doAlert); // doAlert is our callback function }
function doAlert(assig_gr) { //reference is passed into callback as first arguments
if (assig_gr.company != '')
alert('Company is ' + assig_gr.company);
}
Please Refer:
GlideForm - Client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 01:38 AM
Can you share some screenshot, where is your field as given description is not complete to solve your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 04:42 AM
i want to get the value of company from the current assignment group on a client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 10:02 AM
If we are talking about OOB table "sys_user_group", there is not existng company field there,
Have you created a field on groups table with the name of company?