Closed
Sales / Salesforce Maps
Salesforce Maps - the ObjectTerritory2Association object not showing up in the Cross Filter options after the Spring '22 update
Summary
You may notice that the 'ObjectTerritory2Association' object is not available in the Salesforce maps Cross filter dropdown after the Spring '22 update. The reason for that behaviour is that the 'ObjectTerritory2Association.ObjectId' field was changed to be polymorphic during the Spring '22 (v236) core platform release.
Find more details about the ObjectId field in this Schema documentation (v234 vs v236):
API 53.0 (234): https://developer.salesforce.com/docs/atlas.en-us.234.0.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm
API 54.0 (236): https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm
Salesforce Maps managed package does not support polymorphic cross objects in the Marker Layer Builder as of today. The object was available in the Cross filter dropdown prior to the Spring '22 (236) platform release because it was not yet marked as polymorphic before that.
Find more details about the ObjectId field in this Schema documentation (v234 vs v236):
API 53.0 (234): https://developer.salesforce.com/docs/atlas.en-us.234.0.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm
API 54.0 (236): https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm
Salesforce Maps managed package does not support polymorphic cross objects in the Marker Layer Builder as of today. The object was available in the Cross filter dropdown prior to the Spring '22 (236) platform release because it was not yet marked as polymorphic before that.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Closed
Nov 30, 2026