码家

Web Platform, Cloud and Mobile Application Development

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 33 下一页

2012年11月16日

摘要: 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 阅读全文
posted @ 2012-11-16 11:14 海山 阅读(236) 评论(0) 推荐(0) 编辑

2012年11月14日

摘要: for(Date dateToday = dateStart; dateToday <= dateEnd; dateToday.addDays(1)){ System.debug('Updating All Other Jobs Than Daily Ones : ' + dateToday); //dateToday = dateToday.addDays(1); } 阅读全文
posted @ 2012-11-14 10:13 海山 阅读(170) 评论(0) 推荐(0) 编辑

2012年11月13日

摘要: 如果有涉及到时区会影响的地方,要格外小心对时间的处理 阅读全文
posted @ 2012-11-13 14:24 海山 阅读(264) 评论(1) 推荐(0) 编辑

摘要: 如果是system admin, 仍然可以编辑的 阅读全文
posted @ 2012-11-13 12:52 海山 阅读(199) 评论(0) 推荐(0) 编辑

2012年11月12日

摘要: 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, 阅读全文
posted @ 2012-11-12 16:00 海山 阅读(446) 评论(0) 推荐(0) 编辑

摘要: 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 阅读全文
posted @ 2012-11-12 15:47 海山 阅读(406) 评论(0) 推荐(0) 编辑

摘要: 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 阅读全文
posted @ 2012-11-12 15:24 海山 阅读(330) 评论(0) 推荐(0) 编辑

摘要: Schema.DescribeSObjectResult sobjr = Schema.getGlobalDescribe.get(objApi).getDescribe();sobjr.fields.getMap();导致describes不断增加的地方, 不是第一行,而是第二行 阅读全文
posted @ 2012-11-12 14:14 海山 阅读(175) 评论(0) 推荐(0) 编辑

摘要: return (new ApexPages.StandardController(mobileObject)).view(); 阅读全文
posted @ 2012-11-12 14:11 海山 阅读(215) 评论(0) 推荐(0) 编辑

2012年11月10日

摘要: http://www.iteye.com/topic/36419http://bbs.csdn.net/topics/300245089 阅读全文
posted @ 2012-11-10 23:50 海山 阅读(292) 评论(0) 推荐(0) 编辑

2012年11月8日

摘要: 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 阅读全文
posted @ 2012-11-08 15:12 海山 阅读(1203) 评论(0) 推荐(0) 编辑

摘要: private map<String, String> map_urlParams;map_urlParams = ApexPages.currentPage().getParameters(); 阅读全文
posted @ 2012-11-08 14:41 海山 阅读(354) 评论(0) 推荐(0) 编辑

摘要: DML currently not allowedSystem.LimitException: DML currently not allowed不能在constructor里进行DML操作的 阅读全文
posted @ 2012-11-08 14:05 海山 阅读(249) 评论(0) 推荐(0) 编辑

摘要: 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"/> 阅读全文
posted @ 2012-11-08 14:04 海山 阅读(297) 评论(0) 推荐(0) 编辑

摘要: 看到这个不一定是validation rule有可能是触发了addError 阅读全文
posted @ 2012-11-08 12:57 海山 阅读(320) 评论(0) 推荐(0) 编辑

2012年11月7日

摘要: 实心线:<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 阅读全文
posted @ 2012-11-07 13:31 海山 阅读(14298) 评论(0) 推荐(0) 编辑

2012年11月6日

摘要: 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 阅读全文
posted @ 2012-11-06 16:38 海山 阅读(340) 评论(0) 推荐(0) 编辑

2012年11月5日

摘要: Struts2,Spring,Hibernate等开源框架的使用 阅读全文
posted @ 2012-11-05 22:38 海山 阅读(257) 评论(0) 推荐(0) 编辑

摘要: 使用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分 阅读全文
posted @ 2012-11-05 17:12 海山 阅读(566) 评论(0) 推荐(0) 编辑

摘要: 页面上,老是报错:Error:common.apex.runtime.impl.ExecutionException: Invalid id:原因,在页面上有个 类型 是 id 的field,没有赋值,是 ‘’ 阅读全文
posted @ 2012-11-05 13:58 海山 阅读(784) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 33 下一页