Portal Watch List - add users or email adress like backed UI

Sam Ogden
Tera Guru

Hi all,

We have a requirement to add the watch list on our external customer facing portal.

Ideally I need the widget to allow contacts to add contacts from their company, or an email address.  I've found 2 articles that share ideas of widgets:

ServiceNow Elite

https://www.servicenowelite.com/blog/2017/6/1/service-portal-watchlist-widget

Jace Pro

https://jace.pro/post/2017-10-03-sp-modify-watch-list/

I'm not used to widget development, the issue I have is servicenow Elites example allows you to add an email address but not a user.  It also does not give you a view of what is currently in the watch list.

Jace does give you the view of the watch list, but only allows addition of users in the table already and not just an email address.

I'm wondering how awkward it is to amend the example from Jace to also allow email address to be input (can be a separate input field).

Any help is greatly appreciated.

Thanks

Sam

9 REPLIES 9

Shane Craddock
Kilo Expert

Hi Samogden,

You should be able to do this OOB in the portal. Simply enter the valid email address and press enter or click it in the list.

find_real_file.png

After saving the record:
find_real_file.png

And in the platform view to double check:
find_real_file.png

 

If this answer helped you please mark it as Helpful, if it solved your issue please mark as Correct, thank you!

Hi Shane,

What type is the variable mapped to the watch list in the record producer, so that it can add both users from the sys_user table and external e-mail addresses as well?

Thank you in advance!

Best regards,

Denitsa

Hi Shane,

Could you please provide more info? What's the type of the variable and attributes if any?

Thanks.

Best regards,
Roberto

Hi Shane,

Could you please shared how do you do it?