How to set value to a field after a record has been opened using the g_aw.openRecord function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-11-2022 01:02 AM
After a record has been opened by using the g_aw.openRecord() function how can we set values to specific fields?
Any help would be appreciated.
Thanks and Regards,
Vasu
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-11-2022 03:25 AM
Hi,
Can you try something similar to below code and see if that works:
function onClick(g_form) {
g_aw.openRecord("sys_user",g_form.setValue("caller_id",'value here'), { "mode": "form" });
}
Change the parameter accordingly as per your requirement.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-17-2022 10:58 PM
We had a sys_property to ignore fields and added the current field to it and the issue got resolved š
Thank you so much for all your responses.
Best Regards,
Vasu