- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
on change client script is not working on service operations workspace
I need to auto populate the location, when caller is selected, but it is not working, please help me with this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @suryaogeti1 ,
under view name select service operations workspace new record and make changes there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi @suryaogeti1 ,
1.Right click on form header, Configure >> form builder.
2.Select the view and scroll down to see the section you want to delete
3.Click on the trash icon to delete the section
4.Now click on save(top-right corner)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
HI @suryaogeti1 ,
On Interaction we don't have a caller field instead we have opened for (opened_for)
so try replacing u_caller with opened_for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @suryaogeti1 ,
replace the caller_id with opened_for.
The Client script Configuration should be as below:
client script:
function onChange(control, oldValue, newValue, isLoading) {
if ((isLoading && !g_form.isNewRecord()) || (g_form.isLiveUpdating && g_form.isLiveUpdating()))
return;
if (newValue == '' || newValue == null) {
g_form.clearValue('location');
return;
}
if (!g_form.hasField('location'))
return;
var caller = g_form.getReference('opened_for', setLocation); //change is made here
}
function setLocation(caller) {
if (caller && caller.location)
g_form.setValue('location', caller.location);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @suryaogeti1 ,
under view name select service operations workspace new record and make changes there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @Rakesh_M
thank you so much and one more query, here how can we remove the entire section 'cause',i can only able to remove the fields not the entire section name
