- 博客(10)
- 收藏
- 关注
原创 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
原创 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
原创 page layout 上的自定义按钮防止重复点击
if (this.disabled == undefined || this.disabled != 'disabled') { this.disabled = "disabled"; //处理逻辑 }
2019-09-06 16:29:41 80
原创 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
原创 get lightning object layout by current user and recordtypeid
目录 应用场景 参数说明 缺点限制 展示页面示例 组件源码 Page getSessionId.page Controller ResponseBody.cls GetRecordLayout.cls Aura ElementChangeEvent.evt GetRecordLayout.cmp GetRecordLayout.css GetRecordLayoutC...
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
原创 Process Bulider calls Apex to implement chatter reminders
1.Apex PostChatterByProcessBuilder.cls global class PostChatterByProcessBuilder { @InvocableMethod(label='postchatter' description='postChatter for record') global static List<PostChatt...
2019-03-14 18:14:25 103
原创 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
原创 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
原创 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
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人