Is there a way to create a new foreign key political relationship in Salesforce.com?

Having consumed the Salesforce.com Partner WSDL , I am working on synchronization between the external system and Salesforce.com. As you probably expect, objects that do not exist by default in Salesforce.com are created as user objects via a graphical interface. Although I had no problems moving the main fields, I had some relationship problems.

Some external relationships of a system are determined by foreign keys that are polymorphic (for example, they can store an identifier for two or more different types). Although I see Salesforce.com referencing in my documentation on how to deal with polymorphic foreign keys in SOQL, I have not found a way to create new polymorphic foreign key fields.

Is there a way to create new polymorphic foreign key fields in Salesforce.com or do you need to create separate foreign key fields for each type that could be referenced?

+4
source share
1 answer

Unable to create your own polymorphic keys. The ones that come with salesforce are very specialized and have all kinds of custom features baked around them.

+5
source

Source: https://habr.com/ru/post/1396894/


All Articles