Hide list view filter icon

Tharun_M
Tera Contributor

Hi all,

 

There is way to show filters and breadcrumbs only for users with particular roles using script include or by configuring list control for a particular table. But in this way we can configure for only one table at a time. Is there a way where we can configure this globally?

 

 

1 ACCEPTED SOLUTION

tharun_kumar_m
Mega Guru

Hi Tharun,

 

You can create a script include with name "{table_name}DisplayFilter" in you case "globalDisplayFilter" and write a function as written below.

 

function globalDisplayFilter() {
var answer = true;
return answer;
}

 

Note: The name of the function and name of the script include must be same.

 

Thanks,

Tharun Kumar.

View solution in original post

13 REPLIES 13

Anil Lande
Kilo Patron

Hi,

Can you please share the business use case for this?

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

 

In our instance we have a custom role and the filter icon is visible only to the users with that custom role. Now we have to make the icon visible to all the users. To do that I need to find where this configuration is defined.

Hi,

Check the UI Scripts, we can use UI scripts to make changes globally. Also check if there is any business Rule created on Global table.

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

 

Thanks for your reply.

 

I have searched in UI Scripts as well as Script includes. It was not defined there and there is no entry in global_list as well.