How does the custom object metadata API work?

How does the custom object metadata API work?

The Custom Object Metadata API allows you to remotely manage custom object schemas. The API allows you to create a new Custom Object Type or modify an existing one. Once the Custom Object Type has been created or modified, it must be approved for use. For more information about custom objects, please see product documentation here.

How are custom object records converted to contact records?

When Leads are converted, allow custom object records that are related to that Lead to be converted to the Contact record (similar to the way that the standard Activity and Campaign objects are converted). The graphic above is one way it could be done. Or it could be an option on the custom object settings.

How to query and delete custom objects in Marketo?

In addition to the standard describe, query, update, and delete calls available for lead database objects, Custom Objects have a list call available. Calling this endpoint will return a response with a list of custom objects available in the destination instance, along with additional metadata about the objects.

How does the describe call for custom objects work?

The describe call for custom objects follows the same pattern as that of Opportunities and Companies, with the addition of the relationships array in the response and a name path parameter in the URI which takes the name of the custom object type to be described.

Can you add custom fields to custom metadata?

Customers who install a managed custom metadata type can’t add new custom fields to it. With unpackaged metadata, both developer-controlled and subscriber-controlled access behave the same: like subscriber-controlled access. Refer to Trust, but Verify: Apex Metadata API and Security to learn more.

How to create custom metadata types in Salesforce?

To make the fields on your custom metadata types unique and indexable, mark your fields as Unique and ExternalId. A description of the custom metadata type. This field can contain a maximum of 1,000 characters. Represents one or more custom fields in the custom metadata type. Indicates the gender of the noun that represents the object.

What should be included in a metadata profile?

The content of a profile returned by Metadata API depends on the content requested in the RetrieveRequest message. For example, profiles only include field-level security for fields included in custom objects returned in the same RetrieveRequest as the profiles.