- 博客(17)
- 资源 (8)
- 收藏
- 关注
原创 eclipse 搭建salesforce开发环境
Launch Eclipse and click Help > Install New Software....Click Add.... In the Add Repository dialog, set the Name to "Force.com IDE" and theLocation to "http://media.developerforce.com/
2014-05-14 17:01:10 5603
原创 Bad file:invalid byte 1 of 1-byte UTF-8 sequence
解决办法在eclipse.ini下增加-Dfile.encoding=UTF-8
2013-12-24 10:31:34 1015
原创 DML statment cannot operate on trigger.new or trigger.old
类似如下:trigger CallLineItemRename on Call_Line_Item__c (before insert, before update) { // this triger renames the call line item id to be // the specified inventory item name or the product name
2013-09-02 16:50:15 2256
转载 future method cannot be called from a future or batch method
System.AsyncException: Future method cannot be called from a future解决方法:Cross-posted at the Appirio Technology BlogGovernor limits are runtime limits enforced by the Force.com platform to en
2013-09-02 16:48:18 1281
原创 salesforce正则表达式
1,apex中使用正则表达式 A、Pattern.matches(regExp, input); 例如:system.debug(system.debug('----------'+Pattern.matches('^[0-9]+$', '123'));输入----------true B、Pattern.compile(regex).matcher(input).matche
2013-06-20 13:54:40 1578
转载 MyEclipse快捷键大全
MyEclipse 快捷键1(CTRL)-------------------------------------Ctrl+1 快速修复Ctrl+D: 删除当前行 Ctrl+Q 定位到最后编辑的地方 Ctrl+L 定位在某行 Ctrl+O 快速显示 OutLine Ctrl+T 快速显示当前类的继承结构 Ctrl+W 关闭当前Editer Ctrl+
2013-06-20 11:37:59 481
原创 导出excel及大小限制
1、导出为excel方法 standardController="Account" contentType="application/vnd.ms-excel"> title="Contacts"> value="{!account.Contacts}" var="contact"> value="{!contact.Name}"/>
2013-06-19 11:10:14 3122
原创 免费申请开发版本 和 试用版本
申请30天试用版 | Get FREE 30-day trial申请开发版 | Get FREE Developer Edition
2013-06-18 20:26:53 694
转载 salesforce’s Tools and Toolkits
Development Tools Developer Edition Environment: This online environment lets you instantly start developing and testing your software-as-a-service application.Developer Console: The Develop
2013-06-18 14:59:02 1530
原创 salesforce 中 profiles 和 roles 权限控制区别
1. profiles profiles control a user's object-level andfield-level access permissions.//用于用户操作 对象级别 和 字段级别的权限控制。Every user in Salesforce has a profile. Profiles are of two types : Stand
2013-06-14 15:40:11 2872
转载 针对“微博关注”无法嵌入在Visualforce Page的解决方案
1.将以下代码,保存为一个heml页面: 加密/解密HTML源代码.tablinks A {COLOR: blue}.tablinks A:visited { COLOR: blue}.tablinks A:hover {COLOR: brown}input{ font-family: Tahoma; font-size: 9pt; color: #0000
2013-06-14 15:20:22 635
原创 获取picklist中的值
Field203__c是buildingoptiondata__c中的一个picklistSchema.DescribeFieldResult F = Schema.SObjectType.buildingoptiondata__c.fields.Field203__c;List pe = f.getPicklistValues();这样就获取到picklist中的所有值
2013-06-14 15:17:39 1389
原创 常用URL参数
○基本URL不同环境的登陆https://<实例名>.salesforce.com如:开发环境,https://test.salesforce.com前面相同部分省略例)/home/home.jsp ⇒ https://na7.salesforce.com/home/home.jsp○常用URL画面URLhome/home/hom
2013-06-14 14:51:38 1011
原创 SOQL大数据处理
在执行 Select 的时候,如果查询的数据超过 50000 条记录,则超越如下限制:Total number of records retrieved by SOQL queries | 50,000那么如何在 for loop 遍历数据呢?如下写法,当数据量超过50000的时候,会超出sObject堆栈限制范围,导致SOQL会报错。12
2013-06-14 14:39:31 1206 1
原创 国际化处理
第一步:设置-->作成--->自定义标签第二步,新规一个label,初始化语言是按用户的语言设定的,如果修改,只能切换用户的语言。第三步翻译成不同语言Apex类调用System.Label.<label名>Visualforcepage的调用$Label.<label名>另一种:VisualPage 方式:在页面里获取多语言的翻译值。
2013-06-14 11:12:41 726
原创 在apex类获取页面参数值
一、URL传值以及页面中用普通html标签的,都可通过system.currentPageReference().getParameters()获取如:URL:https://c.cs5.visual.force.com/apex/TM_MainMenu?bkId=01rO00000000QqAString bkId =system.currentPageReference()
2013-06-14 11:05:40 2877 1
原创 javascript调用apex class类
{!REQUIRESCRIPT("/soap/ajax/15.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/15.0/apex.js")} var bukkenId = "{!Bukken__c.Id}"; var bukkenStatus = "{!Bukken__c.status__c}"; var flag =sforce.ap
2013-06-14 10:57:58 1246
Newtonsoft.Json.dll.rar
2020-08-12
智慧电厂信息化建设解决方案
2017-06-16
设置和维护 Salesforce 组织
2013-06-25
学习 Salesforce 基本内容
2013-06-25
salesforce Apex Code Developer's Guide
2013-06-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人