1//sObject types to describe2String[] types =newString[]{'Account','Merchandise__c'};3//Make the describe call Schema.4DescribeSobjectResult[] results =Schema.describeSObjects(types);5System.debug('Got describe information for ' + results.size() + ' sObjects.');6//For each returned re...
schema withStructure public SalesforceMarketingCloudObjectDataset withStructure(Object structure) Set the structure property: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. Overrides: Sales...
Schema.DescribeSObjectResult类包含了sObject 和其中 field 的所有描述用的基本属性.DescribeSObjectResult是非序列化的,并且在运行时是受验证的. DescribeSObjectResult包含许多实例方法,参见:Apex Developer Guide 中的DescribeSObjectResult Class. 这里只对其中部分方法进行说明(RecordType相关): getRecordTypeInfos()返回...
public SalesforceMarketingCloudObjectDataset withSchema(Object schema) Set the schema property: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. Overrides: SalesforceMarketingCloudObjectDataset...
Salesforce Surveys Object Model Survey SurveyEmailBranding SurveyEngagementContext SurveyInvitation SurveyPage SurveyQuestion SurveyQuestionChoice SurveyQuestionResponse SurveyQuestionScore SurveyResponse SurveySubject SurveyVersion SurveyVersionAddlInfo TabDefinition TagDefinition Task TaskPriority TaskRelatio...
SalesforceV2ObjectDataset.withSchema(Object schema) Parameters: schema withStructure public SalesforceV2ObjectDataset withStructure(Object structure) Set the structure property: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataEleme...
schema withStructure public SalesforceObjectDataset withStructure(Object structure) Set the structure property: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. Overrides: SalesforceObjectDataset.withStructure(Object structur...
additional considerations and related objects workaccess is not available through schema builder and is not customizable. a workaccess record is required for users to give badgedefinitions. if a workaccess record is not created, badgedefinitions will not be available to users. the...
SOSL全称为Salesforce Object Search Language。SOSL查询可以在以下环境使用: Search()的调用/apex语句/Visualforce的Controller和getter方法里面/Eclipse的Schema Explorer(没有测试成功) SOSL支持对多个objects同时查询text/email/phone类型字段的数据,SOSL可以查询标准的对象以及自定义的对象。当然SOSL不是所有的对象或者字段...
Step 1 –Open yourSalesforce Dashboard. Step 2 –On theQuick Searchtab searchSchema Builder.Click and open it. A page will appear Step 3 –So at first, we are going to create our objects. Let’s create an object by dragging the object from the list shown on the left. ...