The CreatorCon Call for Content is officially open! Get started here.

How to change the default filter on filter widget to something other than 'Keyword is' ?

AmritaT
Tera Expert

I have a requirement to set the default condition for filtering user profile with 'Last Name - starts with - '. I have a custom portal page and I have added the copy of filter widget to the data table from instance widget.

This is what I see now :

find_real_file.png

 

My requirement is to default the condition to Last Name starts with:

find_real_file.png

 

Is there anyway we could do that? Thanks in advance.

4 REPLIES 4

Nitin_NOW
Tera Guru

Once you create the filter and Run, there is an option to 'Set as default filter' which you can set it. 

Please find the relevant thread which might be helpful.

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/use/using_forms/task/t_CreateADef...

Please hit correct based on impact of response.

Thanks

Thanks Nitin. I believe this is for related list only.

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

I doubt that is possible. Alternative would be to Save the filter as required & then set the filter as default.

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

Alikutty A
Tera Sage

Hi,

This should be possible, How are you opening the list layout? You need to just append the filter parameter on the URL if this is on the list page (ie id=list)

eg

instance_name.service-now.com/sp?id=list&table=incident&filter=opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe^active=true