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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Metadata</strong> TypesCustomFieldField NametrueValueIndexedtypeuniquevisibleLineswriteRequiresMasterReadField TypebooleanFieldTypebooleanintbooleanDescriptionFor more information, see “Report on Historical Trends”in the <strong>Database</strong>.<strong>com</strong> Help.This is only relevant for a checkbox field. If set, true valuesare built into the index. This field has been deprecated asof <strong>API</strong> version 14.0 and is only provided for backward<strong>com</strong>patibility.Required. Indicates the field type for the field. Valid valuesare enumerated in FieldType.Indicates whether the field is unique (true) or not(false).Indicates the number of lines displayed for the field.Sets the minimum sharing access level required on themaster record to create, edit, or delete child records. Thisfield applies only to master-detail or junction object customfield types.• true—Allows users with “Read” access to the masterrecord permission to create, edit, or delete child records.This setting makes sharing less restrictive.• false—Allows users with “Read/Write” access to themaster record permission to create, edit, or delete childrecords. This setting is more restrictive than true, andis the default value.For junction objects, the most restrictive access from thetwo parents is enforced. For example, if you set to trueon both master-detail fields, but users have “Read” accessto one master record and “Read/Write” access to the othermaster record, users won't be able to create, edit, or deletechild records.Custom fields use additional data types. For more information, see <strong>Metadata</strong> Field Types on page 107.EncryptedFieldMaskCharThis field type is used in maskChar. It is a string with two valid values: asterisk or X. For more information on encryptedfields, see About Encrypted Custom Fields in the <strong>Database</strong>.<strong>com</strong> online help.EncryptedFieldMaskTypeThis field type is used in maskType. Valid values are:allAll characters in the field are hidden. This option is equivalent to the Mask All Characters option in <strong>Database</strong>.<strong>com</strong>.creditCardThe first 12 characters are hidden and the last four display. This option is equivalent to the Credit Card Numberoption in <strong>Database</strong>.<strong>com</strong>.91

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

Saved successfully!

Ooh no, something went wrong!