Many of us doing double work in order to call the Lightning Web Component in custom quick action. We have to call LWC in Lightning Component in order to show the LWC UI in quick action. Now Spring 21 brought way to call the Lightning Web Component from Custom Quick Action but it is not… Continue reading SPRING 21 – CUSTOM ACTION WITH LWC(PILOT)
Category: LWC
PASS MULTIPLE PARAMETER TO LWC IN PUBLIC COMMUNITY PAGE WITH SIMPLE EXAMPLE
Create a LWC component TestCommunity. In TestCommunity.js-meta.xml, add the <target> and <property> tags as the example below and save the file. <?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>50.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightningCommunity__Page</target> <target>lightningCommunity__Default</target> <target>lightning__HomePage</target> </targets> <targetConfigs> <targetConfig targets="lightningCommunity__Default"> <property name="recordId" type="String" label="Record ID" description="The value should be {!recordId}." /> <property name="taskId" type="String" label="Task ID" description="The value should be {!taskId}." /> </targetConfig> </targetConfigs> </LightningComponentBundle> In TestCommunity.js file using @api annotation for recordId and taskId propoerty in js. import { LightningElement, api} from… Continue reading PASS MULTIPLE PARAMETER TO LWC IN PUBLIC COMMUNITY PAGE WITH SIMPLE EXAMPLE
TESTING FLOW IN SALESFORCE
We will discuss what are the possible ways available for testing flow in salesforce and how it will work so that you can find errors before they affect your users. Yes, Its simple test method by using clicks not a code. Steps for Flow Test : In Setup page --> Enter Flows in the Quick… Continue reading TESTING FLOW IN SALESFORCE
LIGHTNING WEB COMPONENT
What is LWC? Lightning Web Components is the Salesforce implementation of that new breed of lightweight frameworks built on web standards. It leverages custom elements, templates, shadow DOM, decorators, modules, and other new language constructs available in ECMAScript 7 and beyond. How it Works? Lightning Web Components provides a layer of specialized Salesforce services on… Continue reading LIGHTNING WEB COMPONENT