12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Metadata</strong> TypesCustomFieldField NamereparentableMasterDetaillabellengthlookupFilterField TypebooleanstringintLookupFilterDescriptionIndicates whether the child records in a master-detailrelationship on a custom object can be reparented todifferent parent records. The default value is false.This field is available in <strong>API</strong> version 25.0 and later.Label for the field. You cannot update the label forstandard picklist fields, such as the Industry field foraccounts.Length of the field.Represents the metadata associated with a lookup filter.Use this metadata type to create, update, or delete lookupfilter definitions.This field is available in <strong>API</strong> version 30.0 and later.maskCharmaskTypepicklistpopulateExistingRowsprecisionreferenceTorelationshipLabelrelationshipNamerelationshipOrderEncryptedFieldMaskChar(enumeration of typestring)EncryptedFieldMaskType(enumeration of typestring)PicklistbooleanintstringstringstringintFor encrypted fields, specifies the character to be used asa mask. Valid values are enumerated inEncryptedFieldMaskChar.For more information on encrypted fields, see “AboutEncrypted Custom Fields” in the <strong>Database</strong>.<strong>com</strong> Help.For encrypted text fields, specifies the format of the maskedand unmasked characters in the field. Valid values areenumerated in EncryptedFieldMaskType For moreinformation on encrypted fields, see “About EncryptedCustom Fields” in the <strong>Database</strong>.<strong>com</strong> Help.If specified, the field is a picklist, and this field enumeratesthe picklist values and labels.Indicates whether existing rows will be populated (true)or not (false).The precision for number values. Precision is the numberof digits in a number. For example, the number 256.99has a precision of 5.If specified, indicates a reference this field has to anotherobject.Label for the relationship.If specified, indicates the value for one-to-manyrelationships. For example, in the object MyObject thathad a relationship to YourObject, the relationship namemight be YourObjects.This field is valid for all master-detail relationships, butthe value is only non-zero for junction objects. A junctionobject has two master-detail relationships, and is analogousto an association table in a many-to-many relationship.Junction objects must define one parent object as primary(0), the other as secondary (1). The definition of primaryor secondary affects delete behavior and inheritance of look89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!