摘要: http://blogs.developerforce.com/developer-relations/2008/12/using-the-metadata-api-to-retrieve-picklist-values.html 阅读全文
posted @ 2012-07-26 11:24 hoho,SalesForce 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 先跑的CF_gridGetObjectMetaView Code function CF_gridGetObjectMeta(obj, success_cb, failure_cb) { CF_beginProgress('Loading Metadata'); CampaignCallDown.getObjectMeta(obj, function(result, event) { if (event.status == true) { // success - check picklists ... 阅读全文
posted @ 2012-07-25 15:24 hoho,SalesForce 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 写一个function runFunc(func),func的值是另外一个function,runFunc 拿到func后要想办法执行func,但是不能用func()去执行。####################### 想了一下写了一个大概的,有待考证!#######################<script language="javascript"> function runFunc(func){ func.fun=showthis; } function showthis(){ alert("my name is "+this.n 阅读全文
posted @ 2012-05-14 00:59 hoho,SalesForce 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1、Visualforce 部分VF页面规则<apex:page > //规范的HTML</apex:page>标签写法: {! } 例: {!HTMLENCODE(obj.fields)} 几种编码内置函数: HTMLENCODE、JSENCODE、URLENCODE2、Apex 部分public with sharing class TrainingCustom{ public String name { get; private set; } // 设置一个类型为String的变量为name, 只可接收值 public Training_Member__c tm 阅读全文
posted @ 2012-05-13 00:02 hoho,SalesForce 阅读(354) 评论(0) 推荐(0) 编辑