摘要:
Remove Edit and Delete privileges on that related object from the profile. They will disappear from the related list.It's one thing to want to restrict the users edit/delete rights at the object level 阅读全文
摘要:
for(Date dateToday = dateStart; dateToday <= dateEnd; dateToday.addDays(1)){ System.debug('Updating All Other Jobs Than Daily Ones : ' + dateToday); //dateToday = dateToday.addDays(1); } 阅读全文
摘要:
如果有涉及到时区会影响的地方,要格外小心对时间的处理 阅读全文
摘要:
如果是system admin, 仍然可以编辑的 阅读全文
摘要:
Quickstart: Creating Custom Screen Pops Using VisualforceThis is part of theDeveloping with Service & Support QuickstartsUse CaseThe time that agents spend clicking through Service & Support is often scrutinized closely. Companies want to enable their agents to be as productive as possible, 阅读全文
摘要:
Developing With The Service CloudMany customers are currently using salesforce.com'sService Cloudproduct to run their customer service in the cloud. This fast-growing application enables customers to manage their customer service operations using the salesforce.com platform.One of the powerful a 阅读全文
摘要:
1. map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();map的key是 object api name比如 “Account”可以: gd.containsKey(“Account”) 去判断一个object里有没有那个field2.map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();Schema.SObjectType sot = gd.get(objApi);Schema.DescribeSObjectResul 阅读全文
摘要:
Schema.DescribeSObjectResult sobjr = Schema.getGlobalDescribe.get(objApi).getDescribe();sobjr.fields.getMap();导致describes不断增加的地方, 不是第一行,而是第二行 阅读全文
摘要:
return (new ApexPages.StandardController(mobileObject)).view(); 阅读全文
摘要:
http://www.iteye.com/topic/36419http://bbs.csdn.net/topics/300245089 阅读全文
摘要:
private static final map<String, String> map_event_visit_s = new map<String, String> { 'Avis_Date__c' => 'Avis_Date__c', 'Avis_Mode__c' => 'Avis_Mode__c', 'Avis_Type__c' => 'Avis_Type__c', 'Activity_Type__c' => 'Acti 阅读全文
摘要:
private map<String, String> map_urlParams;map_urlParams = ApexPages.currentPage().getParameters(); 阅读全文
摘要:
DML currently not allowedSystem.LimitException: DML currently not allowed不能在constructor里进行DML操作的 阅读全文
摘要:
String err = 'Error. Click <a href="' + Page.MyCustomPage.getURL() + '">here</a>.';ApexPages.Message msgErr = new ApexPages.Message(ApexPages.Severity.ERROR, err);ApexPages.addmessage(msgErr); <apex:pageMessages escape="false"/> 阅读全文
摘要:
看到这个不一定是validation rule有可能是触发了addError 阅读全文
摘要:
实心线:<HR align=left width=490 color=#990099 SIZE=3 noShade>竖直线:<HR align=center width=1 color=red size=100>虚线:<hr size=1 style="color: blue;border-style:dotted;width:490px;color:#CCC">双线:<hr size=1 style="COLOR:#ff9999;border-style:double;width:490px;color:#CCC&quo 阅读全文
摘要:
public static final map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();private static map<String, DescribeSObjectResult> map_describeSobject_objName = new map<String, DescribeSObjectResult>();public static DescribeSObjectResult describeSobj (String objApi) { DescribeSO 阅读全文
摘要:
Struts2,Spring,Hibernate等开源框架的使用 阅读全文
摘要:
使用github管理Eclipse分布式项目开发2012-4-14 12:01|发布者:benben|查看: 334|评论: 0摘要: 使用github管理Eclipse分布式项目开发老关我在前面的博文(github管理iOS分布式项目开发)中介绍了github管理iOS分布式开发,今天老关将向大家介绍使用github管 理Eclipse分布式项目。事实上我们的516inc团队这在开 ...使用github管理Eclipse分布式项目开发老关我在前面的博文(github管理iOS分布式项目开发)中介绍了github管理iOS分布式开发,今天老关将向大家介绍使用github管 理Eclipse分 阅读全文
摘要:
页面上,老是报错:Error:common.apex.runtime.impl.ExecutionException: Invalid id:原因,在页面上有个 类型 是 id 的field,没有赋值,是 ‘’ 阅读全文