分类目录

链接

2018年九月
« 8月    
 12
3456789
10111213141516
17181920212223
24252627282930

近期文章

热门标签

博主推荐

salesforce apex traced the number of query

System.debug('Current Query number:'+ Limits.getQueries())

Salesforce 暂无评论 阅读(1)

salesforce执行apex job的两种方法

方法一,立即执行: YourScheduleApexClass s=new YourScheduleApexClass(); s.excute(null) ; 方法二:定时执行 SchedulerClassName  sch = new SchedulerClassName(); String cronExpression = '0 30 8 1 * * ';   // 8:30am every 1st day of the month System.schedule('EVP Dashboard', cronExpression, sch);

Salesforce 暂无评论 阅读(1)

salesforce antscript无法拉取完整的profile

拉取其它,如object需要把obj列出来,如下: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata">   <types>         <members>Api_GetCustomerInfo</members>          <name>ApexClass</name>     </types>      <types>         <members>Account</members>         <name>CustomObject</name>     </types>     <types>         <members>XXXProfile<...

Salesforce 暂无评论 阅读(48)

salesforce lightning report取URL参数

in classic , we know use pv0,pv1,pv2,pv3... but in lightning , we use fv0,fv1,fv2...  

Salesforce 暂无评论 阅读(78)

salesforce test class用现有数据测试

salesforce test class用现有数据测试,只需要 加上:SeeAllData='true' @isTest(SeeAllData='true')  

Salesforce 暂无评论 阅读(62)

salesforce report get url parameters

Passing report filters as query params to Salesforce reports ! Today, I stumbled across an interesting problem, where one needs to “Run a report by passing parameters through link or button click” Their is no direct way visible in report configuration screen for the same. So I scanned salesforce developer boards for the same, and found this solution that worked perfectly for me, thanks “mikef” for sharing this solution(can’t find your twitter profile ). Using the same ...

Salesforce 暂无评论 阅读(77)

salesforce display trigger error

trigger test on Account(before insert){     trigger.new[0].name.addError('Nice try'); }

Salesforce 暂无评论 阅读(64)

salesforce发送email

首先,我们要设置一下,否则你是无论怎么怼,你都收不到任何邮件: Have a look under Setup > Email Administration > Deliverability. Newly created sandboxes have the default email deliverability set to "System email only." The options are: No access: Prevents all outbound email to and from users. System email only: Allows only automatically generated emails, such as new user and password reset emails. All email: Allows all types of outbound email. Default for new, non-sa...

Salesforce 暂无评论 阅读(63)

salesforce Metadata Types

Metadata Type Allows Wildcard (*)? Description AccountSettings Not Applicable Represents an organization’s account settings for account teams, account owner report, and the View Hierarchy link. ActionLinkGroupTemplate Yes Represents the action link group template. Action link templates let you reuse action link definitions and package and distribute action links. An action link is a button on a feed element. Clicking on an action link can take a user to another We...

Salesforce 暂无评论 阅读(77)

salseforce apex调用salesforce soap api

salseforce apex调用salesforce soap api 我们不断需要从Salesforce沙盒向Salesforce生产环境移动一些配置相关的数据。 终端用户不喜欢使用数据加载程序,需要Salesforce中的一些简单方法来将数据从Salesforce沙盒移动到Salesforce生产环境。 public class API_InsertHolidayRecords {              static string outCallResult;        static string sessionID;        static string userName = 'xxxxx@xx.com';          static string password = 'xxxxxxx';                      static string bodyToS...

Salesforce 暂无评论 阅读(109)