摘要: https://help.salesforce.com/articleView?id=000326139&type=1&mode=1 Inline Edit可以在UserInterface中进行全局控制,也可以通过重写Edit按钮来达到Disable的目的。 阅读全文
posted @ 2019-07-31 16:13 慕少艾 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 匹配首字母为字母,后续为数字的号码: Pattern.matches('^[a-zA-Z]-*[0-9]+', String) 阅读全文
posted @ 2019-03-20 17:14 慕少艾 阅读(138) 评论(0) 推荐(0) 编辑
摘要: String objectName = 'ObjectName';String fieldName = 'FieldName';// 获得lookup field 的objectresultSchema.DescribeFieldResult f = Schema.getGlobalDescribe 阅读全文
posted @ 2018-12-18 16:11 慕少艾 阅读(344) 评论(0) 推荐(0) 编辑
摘要: https://developer.salesforce.com/forums/?id=906F0000000BTWqIAO 从字面意思上理解, 一个是"Sales" 一个是"Service", Sales包含的模块包括:Leads, Accouts, Contacts, Opportunities 阅读全文
posted @ 2018-08-27 16:36 慕少艾 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 原帖地址:https://help.salesforce.com/articleView?id=How-do-I-add-myself-as-a-member-of-a-Community-if-the-Manage-Link-is-missing&language=en_US&type=1 根本原 阅读全文
posted @ 2018-04-08 15:45 慕少艾 阅读(162) 评论(0) 推荐(0) 编辑
摘要: List<account> accountList = [SELECT Name FROM Account LIMIT 20]; ApexPages.StandardSetController ssc = new ApexPages.StandardSetController(accountList 阅读全文
posted @ 2018-03-16 10:27 慕少艾 阅读(333) 评论(2) 推荐(0) 编辑
摘要: 20180314 salesfoce的force.com ide2在2018年3月3号宣布猝死,以后不会再更新了,所以开始着手用visual studio code做项目。 必需品1:Salesforce CLI(single command-line interface),提供Mac OS X,W 阅读全文
posted @ 2018-03-14 15:14 慕少艾 阅读(505) 评论(0) 推荐(0) 编辑
摘要: Step1. 通过Request获取accessToken。 HttpMethod:POST RequestUrl:https://login.salesforce.com/services/oauth2/token Parameters: Response Step2. 复制access_toke 阅读全文
posted @ 2018-01-08 20:09 慕少艾 阅读(227) 评论(0) 推荐(0) 编辑
摘要: SELECT RecordId, MaxAccessLevel, HasAllAccess, HasDeleteAccess, HasEditAccess, HasReadAccessFROM UserRecordAccess WHERE UserId = 'userid'AND RecordId 阅读全文
posted @ 2017-12-27 10:14 慕少艾 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 生成合作伙伴用户并没有特殊要求,但是直接重置密码会发生以下错误 “无法重置一个或多个外部用户的密码,因为外部用户不属于任何已启用社区。” “Passwords for one or more external users were unable to be reset because the ext 阅读全文
posted @ 2017-12-07 11:45 慕少艾 阅读(341) 评论(0) 推荐(0) 编辑