LoginHistory object no longer populates CountryIso
Last updated 2022-02-10 ·Reference W-3756245 ·Reported By 2 users
Summary
With Spring 17 release, LoginHistory object no longer populates CountryIso
Repro
1. Log into Workbench
2. Query on object LoginHistory
SELECT CountryIso FROM LoginHistory
3. All logins since Spring 17 release returns empty/NULL for CountryIso
Workaround
1. In workbench, enable “Allows SOQL Parent Relationship Queries”.
2. Query on object LoginHistory
SELECT Id, LoginTime, UserID, LoginGeo.CountryIso FROM LoginHistory
Reported By (2)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.