Object Reference for the Salesforce Platform Overview of Salesforce Objects and Fields Reference Salesforce Object Behavior Associated Objects (Feed, History, OwnerSharingRule, Share, and ChangeEvent Objects) Custom Objects Object Interfaces Standard Objects AcceptedEventRelation Account AccountB...
Objects Metadata表:定义正常数据库设计的 user 表和 order 表 Fields Metadata表:定义 user 表和 order 表的字段,user(userId, name, age),order(orderId, amount) Data表:user 表和 order 表的具体内容。Value0, Value1等值的顺序与Fields中FileldNum相对应,user.userId的FileldNum=0,则Value0存储着userI...
2.创建PrimitiveHelper帮助类:通过字段的DataType返回相关的基本类型 1publicwithout sharingclassPrimitiveHelper {23publicstaticPrimitive getPrimitiveTypeByField(String sObjectName,String fieldName) {4Schema.DisplayType fieldType =getFieldDisplayType(sObjectName,fieldName);5if(fieldType ==Schema.Displaytype.BO...
Object 表存储了每个租户为它的应用对象定义的元数据,包含如下核心字段: OrgID:应用对象所归属的租户 ID ObjID:应用对象唯一标识,全局唯一,具有固定长度和格式,系统内部产生 ObjName:对象名称,就是通常意义的数据表名,如Account、Student等 对象字段定义表:Fields OrgID:应用对象所归属的租户 ID ObjID:包含该字段的...
[Company_Name__c] 123 * @param sObjectName : sObject的API Name 124 * @return : 友好消息 eg : Required fields are missing: Company Name (field label name) 125 */ 126 private static String getUserFriendlyMessage4RequiredField(String msg,String sObjectName){ 127 String errorMessage = msg...
前述した例のfieldsプロパティ値のように$が付いていない値は静的な値[AccountNameField]となります。 これらの種類の設定オブジェクトプロパティは、動的およびリアクティブとしてマークできます。 Private のプロパティ getter と setter のペアによって定義されるプロパティ ...
publicwithsharingclassRequestMessage{publicString toUserName;publicString fromUserName;publicString msgType;publicString content;publicRequestMessage(String toUserName,String fromUserName,String msgType,String content){this.toUserName=toUserName;this.fromUserName=fromUserName;this.msgType=msgType;this.content=co...
A standard controller in Salesforce is a user interface that allows users to view, edit & delete records. Learn more about it through this blog.
Find Service & Field Service Customer Service Software pricing for businesses of any size and learn about the differences between Service Cloud Editions.
NameKeyRequiredTypeDescription Salesforce Object Type table True string table name Record Id id True string item key Select Query $select string Specific fields to retrieve from entries (default = all). Returns The outputs of this operation are dynamic. Get...