Delegate Access on the portal view

Lindsey6
Giga Contributor

Is there a way to add delegate access to the Portal only view? I am very new to ServiceNow (Jakarta version) and I'm not sure what the best way of doing this would be.

 

Thanks in advance for your help.

Regards,

Lindsey

2 REPLIES 2

Chuck Tomasi
Tera Patron

I don't see a widget to enable the delegate action by default. You may have to create your own by creating a widget that adds entries to the sys_user_delegate table and you can also add a simple list widget that shows any current delegates - similar to the related list you get on sys_user.

More Service Portal basics (creating your own widgets) is available in the TechNow series (ep 28?)

TechNow Episode List

Jaspal Singh
Mega Patron
Mega Patron

Hi Igherman,

 

As Chuck updated there does not exist any delegate widget OOB. You can clone OOB widget SC Catalog Item & then pass the sys_id of your delegate item in the Server side of the widget by replacing 

if (input)
data.sys_id = input.sys_id;
else if (options.sys_id)
data.sys_id = options.sys_id;
else
data.sys_id = $sp.getParameter("sys_id") || $sp.getParameter('sl_sys_id');

if (!data.sys_id)
return;
 

 

with

 

data.sys_id = "sys_id_of_delegate_item"; //Delegate item sys_id

/*if (input)
data.sys_id = input.sys_id;
else if (options.sys_id)
data.sys_id = options.sys_id;
else
data.sys_id = $sp.getParameter("sys_id") || $sp.getParameter('sl_sys_id');

if (!data.sys_id)
return;
*/

 

Once done you need to need to create a new portal page & then place the widget accordingly.

 

In addition, you may find link helpful.

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.