- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 12:53 AM
Hi All,
I have a requirement where i need to make Assigned to field readonly if the Assignment group selected is not only of the group that the logged in user is a member of. But the moment is changes the Assignemnt group to one of the group he is memeber of the Assigned to field should be editable..
Please help me on this as to how can i achieve this.
Thanks,
Abhinab
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 02:36 AM
Hi Abhinab,
Not sure why you are thinking it is bad idea but for me it worked using glide ajax.
1.Script include
2.Client script
Thanks,
Kh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 12:59 AM
You could create a write acl for this with script
answer = gs.getUser().isMemberOf(current.assignment_group);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2020 10:13 AM
just that? i tried and didn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 01:32 AM
Hi Abhinab,
Use glide ajax to check if the logged in user is member of assignment group or not. then using client script make the field read only.
Thanks,
Kh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 01:39 AM
client script is a bad idea. ACL is good but the problem is in my instance somthing is overiding the assigned to value back to the old value if an user goes into someone else queue and changes the AG , it makes The AT empty but once saves it appears the old memeber in AT which is not at all the memeber of the AG currently selected. There ai not Br i can say.