Skip to content

Instantly share code, notes, and snippets.

@zubairov
Last active December 28, 2017 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zubairov/e3f6502adf10c4655d0cde92ebb0997a to your computer and use it in GitHub Desktop.
Save zubairov/e3f6502adf10c4655d0cde92ebb0997a to your computer and use it in GitHub Desktop.
Sample metadata from Salesforce API Version 39
{
"fullName": "Contact",
"actionOverrides": [
{
"actionName": "AddCampaign",
"type": "Default"
},
{
"actionName": "AddToCampaign",
"type": "Default"
},
{
"actionName": "CallHighlightAction",
"type": "Default"
},
{
"actionName": "CancelEdit",
"type": "Default"
},
{
"actionName": "Clone",
"type": "Default"
},
{
"actionName": "Delete",
"type": "Default"
},
{
"actionName": "Edit",
"type": "Default"
},
{
"actionName": "EmailHighlightAction",
"type": "Default"
},
{
"actionName": "EnableCustomerPortal",
"type": "Default"
},
{
"actionName": "EnablePartnerPortalUser",
"type": "Default"
},
{
"actionName": "EnableSelfService",
"type": "Default"
},
{
"actionName": "Follow",
"type": "Default"
},
{
"actionName": "List",
"type": "Default"
},
{
"actionName": "ListClean",
"type": "Default"
},
{
"actionName": "Merge",
"type": "Default"
},
{
"actionName": "NewContact",
"type": "Default"
},
{
"actionName": "RequestUpdate",
"type": "Default"
},
{
"actionName": "SaveEdit",
"type": "Default"
},
{
"actionName": "Tab",
"type": "Default"
},
{
"actionName": "View",
"type": "Default"
},
{
"actionName": "ViewCustomerPortal",
"type": "Default"
},
{
"actionName": "ViewPartnerPortalUser",
"type": "Default"
},
{
"actionName": "ViewSelfService",
"type": "Default"
}
],
"compactLayoutAssignment": "SYSTEM",
"enableFeeds": "true",
"enableHistory": "false",
"fields": [
{
"fullName": "AccountId",
"trackFeedHistory": "true",
"type": "Lookup"
},
{
"fullName": "AssistantName",
"trackFeedHistory": "false"
},
{
"fullName": "AssistantPhone",
"trackFeedHistory": "false"
},
{
"fullName": "Birthdate",
"trackFeedHistory": "false"
},
{
"fullName": "Department",
"trackFeedHistory": "false"
},
{
"fullName": "Description",
"trackFeedHistory": "false"
},
{
"fullName": "DoNotCall",
"trackFeedHistory": "false"
},
{
"fullName": "Email",
"trackFeedHistory": "false"
},
{
"fullName": "Fax",
"trackFeedHistory": "false"
},
{
"fullName": "HasOptedOutOfEmail",
"trackFeedHistory": "false"
},
{
"fullName": "HasOptedOutOfFax",
"trackFeedHistory": "false"
},
{
"fullName": "HomePhone",
"trackFeedHistory": "false"
},
{
"fullName": "Jigsaw",
"trackFeedHistory": "false"
},
{
"fullName": "Languages__c",
"externalId": "false",
"label": "Languages",
"length": "100",
"required": "false",
"trackFeedHistory": "false",
"type": "Text",
"unique": "false"
},
{
"fullName": "LastCURequestDate"
},
{
"fullName": "LastCUUpdateDate"
},
{
"fullName": "LeadSource",
"picklist": {
"picklistValues": [
{
"fullName": "Web",
"default": "false"
},
{
"fullName": "Phone Inquiry",
"default": "false"
},
{
"fullName": "Partner Referral",
"default": "false"
},
{
"fullName": "Purchased List",
"default": "false"
},
{
"fullName": "Other",
"default": "false"
}
],
"sorted": "false"
},
"trackFeedHistory": "false",
"type": "Picklist"
},
{
"fullName": "Level__c",
"externalId": "false",
"label": "Level",
"picklist": {
"picklistValues": [
{
"fullName": "Secondary",
"default": "false"
},
{
"fullName": "Tertiary",
"default": "false"
},
{
"fullName": "Primary",
"default": "false"
}
],
"sorted": "false"
},
"required": "false",
"trackFeedHistory": "false",
"type": "Picklist"
},
{
"fullName": "MailingAddress",
"trackFeedHistory": "false"
},
{
"fullName": "MobilePhone",
"trackFeedHistory": "false"
},
{
"fullName": "Name",
"trackFeedHistory": "true"
},
{
"fullName": "OtherAddress",
"trackFeedHistory": "false"
},
{
"fullName": "OtherPhone",
"trackFeedHistory": "false"
},
{
"fullName": "OwnerId",
"trackFeedHistory": "true",
"type": "Lookup"
},
{
"fullName": "Phone",
"trackFeedHistory": "false"
},
{
"fullName": "ReportsToId",
"trackFeedHistory": "false",
"type": "Lookup"
},
{
"fullName": "Title",
"trackFeedHistory": "false"
},
{
"fullName": "extID__c",
"caseSensitive": "true",
"description": "External ID",
"externalId": "true",
"label": "extID",
"length": "255",
"required": "false",
"trackFeedHistory": "false",
"type": "Text",
"unique": "true"
}
],
"label": "Contact",
"listViews": {
"fullName": "BirthdaysThisMonth",
"filterScope": "Everything",
"filters": {
"field": "CONTACT.BIRTHDATE",
"operation": "equals",
"value": "THIS_MONTH"
},
"label": "Birthdays This Month"
},
"searchLayouts": {
"customTabListAdditionalFields": [
"FULL_NAME",
"ACCOUNT.NAME",
"CONTACT.PHONE1"
],
"lookupDialogsAdditionalFields": [
"FULL_NAME",
"ACCOUNT.NAME",
"ACCOUNT.SITE"
],
"lookupPhoneDialogsAdditionalFields": [
"FULL_NAME",
"ACCOUNT.NAME",
"ACCOUNT.SITE",
"CONTACT.PHONE1",
"CONTACT.PHONE3",
"CONTACT.PHONE4",
"CONTACT.PHONE5",
"CONTACT.PHONE6"
],
"searchResultsAdditionalFields": [
"FULL_NAME",
"ACCOUNT.NAME",
"ACCOUNT.SITE",
"CONTACT.PHONE1",
"CONTACT.EMAIL",
"CORE.USERS.ALIAS"
]
},
"sharingModel": "ControlledByParent"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment