Inactive users in a typeahead field | Community
Skip to main content
tibormolnar
Level 4
April 3, 2025
Solved

Inactive users in a typeahead field

  • April 3, 2025
  • 1 reply
  • 662 views

Hi All,

by default a typeahead field referencing the user object returns only active users (if my observations are correct).

Is there any way to override this default behaviour? I tried applying a basic filter (isActive=false|isActive_Mod=eq), this brought no joy, as expected.

Thanks for the feedback.

Tibor

Best answer by Sven-iX

That's correct - I think the main reason is that an inactive user is not, for all intents and purposes, a user at all. 

I see 2 options: 

  • change deactivated users to "extenal" users 
  • use an external lookup field (but then you only get the name, no ID)

1 reply

Sven-iX
Community Advisor
Sven-iXCommunity AdvisorAccepted solution
Community Advisor
April 3, 2025

That's correct - I think the main reason is that an inactive user is not, for all intents and purposes, a user at all. 

I see 2 options: 

  • change deactivated users to "extenal" users 
  • use an external lookup field (but then you only get the name, no ID)
tibormolnar
Level 4
April 3, 2025

Yep, since I posted my question I was experimenting the the 2nd option myself and that is working. The lack of the ID is annoying, since the name is not necessarily unique. I think I'll use the email address instead (as options displayed to choose from), which is unique.

Sven-iX
Community Advisor
Community Advisor
April 3, 2025

Ah excellent - yep emailAddr = way to go!