Watchlist widget logged in user contacts from same account

Damian Martinez
Mega Sage

Hello Community,

I hope everyone is doing fine.
I have a widget in my csm portal for watch list.

DamianMartinez_0-1675687720776.png

At the moment all users from sys_user table is showing, however I would like to show only the contacts from the same account of the currently logged in user.

Does somebody know how to accomplish this?

Thanks in advance!

1 ACCEPTED SOLUTION

Hello @Mike_R ,

I finally got it working, in the html code of the widget, the sn-record-picker, I had to change the table and some default query parameters.

Regards.

View solution in original post

4 REPLIES 4

Mike_R
Kilo Patron
Kilo Patron

Can you post the code for the widget?

 

Hello @Mike_R 

this is the query from the sn-record-picker in the html code:

default-query="'active=true^web_service_access_only=false^user_nameISNOTEMPTY^emailISNOTEMPTY^accountDYNAMIC7ee6b35e0f3210103ff81b41ff767e85'"

the last parameter is account is dynamic my account, but it is not working in the widget

 

Hello @Mike_R 

This is the query from the sn-record-picker in the html code in the widget:

default-query="'active=true^web_service_access_only=false^user_nameISNOTEMPTY^emailISNOTEMPTY^accountDYNAMIC7ee6b35e0f3210103ff81b41ff767e85'"

Last parameter is account is dynamic my account but it is not working in the widget

Regards

Hello @Mike_R ,

I finally got it working, in the html code of the widget, the sn-record-picker, I had to change the table and some default query parameters.

Regards.