how to set the default value in interactive filter of users dropdown

alvatindra
Giga Contributor

can we keep the default value as the current logged in user in the interactive filter API stats by Requestor.

12 REPLIES 12

Mike322
Tera Contributor

Hi Deepak,

Alright, well after looking around a bit I saw here that it isn't possible (I know, it's silly).

I think the only workaround remaining is fiddling around with the ACL's perhaps, so to restrict what users can and cannot lookup.

Sorry that I haven't got a better answer but hey, that's what I call ServiceNow jankyness. 🙂

Kind regards,

Mike

Hi @sachin.namjoshi 

Hope you are doing great!

I'm looking for the same requirement in choice type interactive filter on pm_project table where the state would be defaulted to Open, Work In Progress on every refresh i.e., to reset the default value and not the last selection for the users. Please refer to the screenshot below.

find_real_file.png

 

Any possibility on this implementation with present releases?

 

Thanks,

Priyatham.

yes, you can add custom interactive filter to add JS in script include.

 

https://developer.servicenow.com/app.do#!/event/creatorcon18/CCW1161/creatorcon_18_CCW1161_create_cu...

 

This custom interactive filter will always return data with default values.

 

Regards,

Sachin