3

I'd like some of the custom fields on my custom object to function similarly to the existing compound fields on standard objects (e.g. BillingStreet in BillingAddress). Existing documentation I can find https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/compound_fields_address.htm describes how to pull data from compound fields, but not how to create new ones.

1 Answer 1

3

You can't currently create custom compound fields, except for Geolocation data types (which have a longitude and latitude component). See Create custom compound fields and Add a new Standard field type: Address for ideas that have been proposed to salesforce. The Address type is currently under consideration to add to the road map. I'd suggest voting on these ideas so we can maybe get them in the future.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .