Simple list widget configuration

Sharath807
Tera Contributor

Hi all, I cloned a simple list widget to show list of records of a custom table in service portal . It is displaying. , in the custom table records there is a  reference field (sys_group). 
Now the requirement is if the current logged in user is belong to the group ,that is in the custom table only that records should be shown to him in portal.
Like if there is 10 records in custom table and the current logged in user is in XYZ group. That particular group is in 5 records. So that to him only that 5 records should display in portal , how can i achieve this.Can anyone help

2 ACCEPTED SOLUTIONS

Kieran Anson
Kilo Patron

The reference qualifier you pass in as part of the instance options for a simple list widget supports the dynamic operator you can use as part of the filter builder (see below). 

So the below looks like "assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744"

 

Screenshot 2024-06-26 at 18.11.23.png

View solution in original post

Sid_Takali
Kilo Patron
Kilo Patron

Hi @Sharath807 follow below steps

1. Ctrl + Right Click

SiddharamTakali_0-1719422810287.png

2. Open Simple list widget instance 

SiddharamTakali_1-1719422841384.png

3. Add a filter here

SiddharamTakali_2-1719422966853.png

4. Copy Query and paste it in filter field of simple list widget instance

SiddharamTakali_3-1719423028864.png

Regards,

Sid

View solution in original post

2 REPLIES 2

Kieran Anson
Kilo Patron

The reference qualifier you pass in as part of the instance options for a simple list widget supports the dynamic operator you can use as part of the filter builder (see below). 

So the below looks like "assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744"

 

Screenshot 2024-06-26 at 18.11.23.png

Sid_Takali
Kilo Patron
Kilo Patron

Hi @Sharath807 follow below steps

1. Ctrl + Right Click

SiddharamTakali_0-1719422810287.png

2. Open Simple list widget instance 

SiddharamTakali_1-1719422841384.png

3. Add a filter here

SiddharamTakali_2-1719422966853.png

4. Copy Query and paste it in filter field of simple list widget instance

SiddharamTakali_3-1719423028864.png

Regards,

Sid