自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Nicwu的专栏

Zihuatanejo

  • 博客(10)
  • 资源 (9)
  • 收藏
  • 关注

原创 [Salesforce] customized Sorting by self defined field

Roughly coded a customized Sorting example for my colleague/* the class wants to be sorted.*/global Class commonClass implements Comparable { public Decimal HNPVI{get;set;} publ

2015-04-16 16:04:40 421

原创 [Salesforce] Sorting of SelectOption list

As we know, the sorting method for SelectOption list is that sort the value first and then Label. Usually we need sort by label only or value. So here we have a workaround for this.Solution:We sho

2015-01-19 10:16:50 591

原创 [Salesforce] Solution of custom page cannot redirect on Salesforce1

We are now developing the customized page for both browser and Salesforce1, found that no matter how we are trying to use the command "sforce.one.navigateToSObject", the page still cannot be redirecte

2015-01-16 09:27:59 570

原创 [Salesforce] How to redirect to customize page through override button

Override the button with a new VisualPage and redirect to standard button action. Example codes:<apex:page StandardController="xxx__c" extensions="xxxxCtrl" action="{!URLFOR($Action.xxx

2015-01-07 08:55:19 425

原创 [Salesforce] How to determine the login environment from Apex

Here is sample code to determine the login environment ( from Deskop browser or Salesforce1 ) Apex code:String userAgent = ApexPages.currentPage().getHeaders().get('User-Agent'); // sales

2015-01-07 08:47:30 489

原创 [Salesforce] Call REST from Apex

Here just shared the experiences for how to make a call to REST method from Apex side.Firstly, we should create a Class with REST annotation. An example REST class and in below@RestResource(ur

2015-01-07 08:33:06 583

原创 [Salesforce] JS onchange 事件 如何重复选同一个option

客户有个需求, 需要在选择框选择同样的选项的时候, 触发的事件依然有效. 按照正常的逻辑, onchange 事件是指按selectedIndex 改变的时候, 才会触发事件的.那么按照这个逻辑, 理论上onchange 是不允许选择同样的option.

2014-12-15 09:22:53 958

转载 [Salesforce] Using the with sharing or without sharing Keywords

Use the with sharing or without sharing keywords on a class to specify whether or not to enforce sharing rules.The with sharing keyword allows you to specify that the sharing rules for the curre

2014-12-09 16:36:35 472

原创 [Salesforce] 新版本的Salesforce如何重设安全标记

离开Salesforce2年了, Salesforce更新了很多, 哥的知识也都忘了差不多了. 现在重新pick up回这些, 真的需要一点勇气.隐约记得旧的版本salesforce 是在重设密码旁 有重设安全标记的按钮的.现在新版本改变了位置.

2014-12-09 09:23:05 836 1

原创 [Salesforce] 关于Trigger 的使用(防止死循环)

因为帮同事做个EE, 考虑到的方法有两种, 第一是在接口上弄, 第二就是在trigger上做文章.第一种方法风险比较大, 所以考虑第二种. 这种在trigger里面 insert or update 该 object 的做法. 之前还没试过, 所以想到的问题是 会不会插数据进去的时候, 触发trigger, 然后执行到insert 这句的sihou,又继续递归下去?在SF群中, 众人有

2012-08-28 22:59:16 1203

Dev401 handbook

dev401考试认证必备的书籍之一,jan.2012版本

2012-09-10

salesforce_visualforce_developer_cheatsheet

Salesforce官方的visualforce cheat sheet,对于salesforce的开发人员很有用.

2012-09-10

salesforce_apex_developer_cheatsheet

Salesforce官方的cheat sheet

2012-09-10

salesforce_apex_language_reference

Salesforce apex开发官方书籍

2012-08-22

SG_CertifiedDeveloper

Salesforce dev401认证的官方书籍

2012-08-22

SG_CertifiedAdmin

Salesforce adm201认证官方书籍

2012-08-22

force_platform_fundamentals_final

考Salesforce adm201认证必看书

2012-08-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除