随笔分类 - salesforce&apex
salesforce开发的小心得
摘要:本篇参考: https://developer.salesforce.com/docs/atlas.en-us.216.0.apexcode.meta/apexcode/apex_classes_keywords_sharing.htm https://developer.salesforce.co
阅读全文
摘要:本篇参考: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Functions https://developer.mozilla.org/zh-CN/docs/Glossary/Scope https://trailhea
阅读全文
摘要:本篇参考:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Functions/Arrow_functions 我们在Salesforce LWC学习(十) 前端处理之 list 处理 篇中简单地介绍了一些数组常用的l
阅读全文
摘要:本篇参考: https://developer.salesforce.com/docs/component-library/bundle/lightning-file-upload/documentation https://developer.salesforce.com/docs/compone
阅读全文
摘要:首先本篇感谢长源edward老哥的大力帮助。 背景:我们在前端开发的时候,经常会用到输入框,并且对这个输入框设置 required或者其他的验证,当不满足条件时使用自定义的UI或者使用标准的 input的 setCustomValidity等操作方式去进行UI的展示。我们在https://www.c
阅读全文
摘要:本篇参看: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise https://developer.mozilla.org/zh-CN/docs/Web/JavaScript
阅读全文
摘要:本篇参看: https://trailhead.salesforce.com/content/learn/modules/test-lightning-web-components https://jestjs.io/docs/en/expect 我们在写lwc的js部分时,通常都是前端进行测试,针
阅读全文
摘要:本篇参考:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/sort salesforce开发过程中,数组在前端的使用中基本是不可避免,下面的demo大家猜一下输出结果。 ar
阅读全文
摘要:本篇参考: https://trailhead.salesforce.com/content/learn/superbadges/superbadge_lwc_specialist https://developer.salesforce.com/docs/component-library/doc
阅读全文
摘要:本篇参看: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reactivity_fields https://developer.salesforce.com/docs/compone
阅读全文
摘要:本篇参考:https://developer.salesforce.com/docs/component-library/documentation/en/lwc/data_error https://developer.salesforce.com/docs/atlas.en-us.uiapi.m
阅读全文
摘要:本篇参考: https://code.visualstudio.com/docs/editor/versioncontrol https://git-scm.com/doc https://git-scm.com/book/zh/v2 salesforce作为云平台,相信很多人开发都很爽,有啥需求在
阅读全文
摘要:本篇参考:https://github.com/forcedotcom/cli/issues/470 https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_update_cli.
阅读全文
摘要:本篇参考: https://salesforcediaries.com/2020/02/24/how-to-override-lightning-input-field-label-in-lightning-web-component/ https://developer.salesforce.co
阅读全文
摘要:本篇参看: https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/documentation https://www.lightningdesignsystem.com/component
阅读全文
摘要:在Salesforce的世界,凡事皆Metadata。 先通过一句经常使用的代码带入一下: Account accountItem = (Account)JSON.deserialize(accountString,Account.class); 这种代码相信大部分开发都会写过,前台将数据序列化,通
阅读全文
摘要:在Salesforce LWC学习(八) Look Up组件实现篇中,我们实现了公用的lookup组件,使用的过程中,会发现当我们输入内容以后,搜索出来的列表便无法被清空。 针对此种情况我们打算优化一下代码,针对前端的输入框,增加onblur函数,当鼠标移除情况下,设置searchTerm为空字符串
阅读全文
摘要:我们在Sales Cloud中经常会创建顾客,如果针对TO C业务,会启用个人顾客,比如针对车企行业,有一些场景是需要卖给个人的,而不只是企业采购。当通过打电话或者其他的场景有潜在客户并且转换成客户以后,我们会为其创建业务机会(Opportunity),并且创建相关的 Event / Task去和客
阅读全文
摘要:本篇参考:https://developer.salesforce.com/blogs/2018/07/which-streaming-event-do-i-use.html https://trailhead.salesforce.com/content/learn/modules/platfor
阅读全文
摘要:本篇参考: https://developer.salesforce.com/docs/component-library/bundle/lightning-input/documentation https://www.lightningdesignsystem.com/components/in
阅读全文