defaultJson
[
{
"databaseName" : "WhoId",
"displayName" : "Primary Contact",
"type" : "contact"
},
{
"databaseName" : "SecondaryContacts",
"displayName" : "Secondary Contacts",
"type" : "contacts"
},
{
"databaseName" : "StartDateTime",
"displayName" : "Start Date",
"type" : "datetime"
},
{
"databaseName" : "EndDateTime",
"displayName" : "End Date",
"type" : "datetime"
},
{
"databaseName" : "Subject",
"displayName" : "Subject",
"type" : "string"
},
{
"databaseName" : "Description",
"displayName" : "Description",
"type" : "string"
},
{
"databaseName" : "Location",
"displayName" : "Location",
"type" : "string",
"Object[2]" : {
"databaseName" : "Location",
"displayName" : "Location",
"type" : "string"
}
},
{
"databaseName" : "ShowAs",
"displayName" : "Show Time As",
"type" : "picklistFromClass",
"picklistClass" : "Event",
"picklistField" : "ShowAs"
},
{
"databaseName" : "WhatId",
"displayName" : "Account or Opportunity",
"type" : "multiSourceSelect",
"sources" : [
{
"sourceName" : "Account",
"mapItem" : {
"databaseName" : "WhatId",
"displayName" : "Account",
"type" : "picklistFromSelect",
"selectStatement" : "SELECT Id, Name FROM Account where Name != null limit 5"
}
},
{
"sourceName" : "Opportunity",
"mapItem" : {
"databaseName" : "WhatId",
"displayName" : "Opportunity",
"type" : "picklistFromSelect",
"selectStatement" : "SELECT Id, Name FROM Opportunity where Name != null limit 5",
"objectName" : "Opportunity"
}
}
]
}
]