salesforce classic
文章平均质量分 73
salesforce classic
生的荒唐
这个作者很懒,什么都没留下…
展开
-
salesforce:将当前时间转换为GMT时间以及获取当前用户的日期格式
/** * [getGmtByTimeZone 将一个时区时间转为另一个时区时间] * @Author Faith * @DateTime 2019-08-14T14:06:15+0800 * @param current_time_zone [当前待转时区] * @param convert_time_zo...原创 2019-09-06 16:34:02 · 522 阅读 · 0 评论 -
page layout 上的自定义按钮防止重复点击
if (this.disabled == undefined || this.disabled != 'disabled'){ this.disabled = "disabled"; //处理逻辑}原创 2019-09-06 16:29:41 · 80 阅读 · 0 评论 -
import sobject data by excel limit 10000
component:<apex:component controller="DataImportCtrl"> <apex:stylesheet value="{!URLFOR($Resource.JQWidget, '/jqwidgets/styles/jqx.base.css')}" /> <apex:includeScript value="...原创 2019-08-19 15:14:00 · 116 阅读 · 0 评论 -
get lightning object layout by current user and recordtypeid
目录应用场景参数说明缺点限制展示页面示例组件源码PagegetSessionId.pageControllerResponseBody.clsGetRecordLayout.clsAuraElementChangeEvent.evtGetRecordLayout.cmpGetRecordLayout.cssGetRecordLayoutC...原创 2019-05-21 10:24:09 · 160 阅读 · 1 评论 -
Lightning component realizes simple excel download and parsing
UpDownLoadEvent.evt<aura:event type="APPLICATION" description="Event template"> <aura:attribute name="excelDataJson" type="List"/></aura:event>UpDownLoad.cmp<aura:comp...原创 2019-03-21 17:37:03 · 130 阅读 · 0 评论 -
Process Bulider calls Apex to implement chatter reminders
1.ApexPostChatterByProcessBuilder.clsglobal class PostChatterByProcessBuilder{ @InvocableMethod(label='postchatter' description='postChatter for record') global static List<PostChatt...原创 2019-03-14 18:14:25 · 103 阅读 · 0 评论 -
Lightning component implements a simple list of multiple options
1.MultipleSelect.cmp<aura:component><!-- 可选的选项列表MAP --><aura:attribute name="optionMap" type="Map"/><!-- 可选的选项列表 --><aura:attribute name="optionList" type="List" defa...原创 2019-03-14 16:49:27 · 167 阅读 · 0 评论 -
JQuery实现table固定首行首列
<apex:page id="Page" sidebar="false"> <apex:includeScript value="{!URLFOR($Resource.JQuery, 'jquery-2.0.0.min.js')}" /> <style type="text/css"> .freezeTd { ver...原创 2018-03-20 11:40:05 · 2711 阅读 · 0 评论 -
Lightning组件跳转页面
Force类型跳转跳转到另一组件navigateToMyComponent : function(component, event, helper) {var evt = $A.get("e.force:navigateToComponent");evt.setParams({componentDef : "c:myComponent",...原创 2018-12-13 11:57:50 · 424 阅读 · 0 评论 -
salesforce:获取当前用户的时间格式
String testDate=DateTime.newInstance(1999, 11, 10, 18, 49, 37).formatLong().replace('1999', 'YYYY').replace('11', 'MM').replace('10', 'dd').replace('18', 'HH').replace('06', 'hh').replace('6', 'hh').r...原创 2019-09-06 16:37:40 · 307 阅读 · 0 评论