随笔分类 - Lightning
摘要:可以将VF页面以iframe的形式使其显示在LWC中,以达到开发需求。 示例如下: HTML: <template> <div class="slds-box slds-theme--default"> <iframe src={vfPageURL} height="100%" width="150
阅读全文
摘要:Boolean Propeties只能默认设置为fasle. 例如@api test = false; 如果必须要将它默认设置为true,则需要用@track声明,即@track test = true; 通过wire service取到的record data,不可以直接在html中调用。还需要通
阅读全文
摘要:我们可以在LWC中creat以及dispatch event. 可以使用CustomEvent() constructor来create一个event, 使用EventTarget.dispatchEvent() method来dispatch一个event. 当为event命名的时候,要注意的几点
阅读全文
摘要:1. constructor()它在component被创建时调用。This hook flows from parent to child,即它首先在parent中触发。使用constructor()须知: 1. Constructor中的第一个语句必须是super(). 设置之后this.才会有
阅读全文
摘要:User无法在lightning mode下的某条数据上的detail页面中添加chatter 而在classic mode下是可以正常使用该功能的 这个时候,需要去该object的page layout页面。 然后点击Mobile and Lightning Experience Actions
阅读全文
摘要:近日发现某class中getContentAsPDF()方法在lightning mode中报错:internal salesforce error 但是在classic mode中则可以正常工作。 实际需求是将某一vf page变成pdf文件存储为某data中的attachment 第一种修改方案
阅读全文
摘要:Steps to follow in Salesforce Classic Click on Setup. In the Quick Find search box, enter Apps and click it. Locate the App and click Edit. Select an
阅读全文

浙公网安备 33010602011771号