Need to create NEW User button in calls form

suuriya
Tera Contributor

Hi,

 

I have a requirement; in calls form I need to create a new button and the functionality is to open a new user record...Is it possible to do so.... like once i click the new button in calls form then new user form opens

 

Note: Call is the table similar to incident.

 

Please let me know how we can achieve this.

It should be done in agent workspace and in standard platform(native)

 

Thanks in advance

1 ACCEPTED SOLUTION

Mohith Devatte
Tera Sage
Tera Sage

Hello @suuriya ,

IN the  UI action script you can use this line

action.setRedirectURL("/sys_user.do?sys_id=-1");
 
Also when you scroll down in the UI action you can find a check box called workspace form button and once you check it a script field appears with name "workspace client script".
 
 
you can write this script 
g_aw.openRecord('sys_user', '-1');
 
Screenshot 2023-08-11 at 14.47.15.png
 
Hope this helps 
Mark my answer correct if this helps you 
THanks
 
 

View solution in original post

1 REPLY 1

Mohith Devatte
Tera Sage
Tera Sage

Hello @suuriya ,

IN the  UI action script you can use this line

action.setRedirectURL("/sys_user.do?sys_id=-1");
 
Also when you scroll down in the UI action you can find a check box called workspace form button and once you check it a script field appears with name "workspace client script".
 
 
you can write this script 
g_aw.openRecord('sys_user', '-1');
 
Screenshot 2023-08-11 at 14.47.15.png
 
Hope this helps 
Mark my answer correct if this helps you 
THanks