Dynamic Filter in Scoped Application for Workspace List View (Not Working)

Tejas Adhalrao
Kilo Sage

Hi everyone,

I’m working in a scoped application and I have a custom table that has a reference field to another table (Unit table).

I want to create different list views for this table, and each list view should display records based on a dynamic filter.

 

or example, I want the filter logic to be like this:

user_field  , "IN" ,  user_sysid_array

 

Here, user_sysid_array contains multiple user sys_ids that are determined dynamically.

 

 

I tried using the Dynamic Filter Option, but it’s not working in the scoped application.
Also, I’m trying to display these filtered results in the Workspace list view, not in the classic (native) list view.

 

Has anyone implemented a similar dynamic filtering logic in a scoped app for Workspace list views?

 

Any guidance or example would be appreciated!

Thanks in advance!

9 REPLIES 9

Siddhesh Gawade
Mega Sage

@Tejas Adhalrao ,
You are showing this list view in workspace then you need to add condition in sys_ux_list.LIST table. 

 

1. Navigate to sys_ux_list.LIST table.

2. Open the list record that you are using to show the list view.

3. Add condition as below example:

SiddheshGawade_0-1767673324047.png

OR you can write a script include to return dynamic sys_ids and call this script include in your condition:

SiddheshGawade_1-1767673438053.png

 

here getUserIds is script include name and getActiveUsers in function name. make sure to write this script in your scope application.

 

Regards,
Siddhesh

Hi @Siddhesh Gawade  ,

 

i tried but its not working 

TejasSN_LogicX_0-1767675606708.pngTejasSN_LogicX_1-1767675617955.png

 

@Tejas Adhalrao 
Can you try using API name instead of SI name?

 

hi @Siddhesh Gawade  ,not working