Community · Lightning · LWC · Salesforce

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

Lightning · Salesforce

DOWNLOAD EXCEL FILE OPTION IN LWC

This Post explains how to download the excel file that is created as VF Page inside LWC Component. Download the js file named download.js from the link https://github.com/rndme/download/blob/master/download.js and add it as a static resource. Create a Visual force Page for the file that is to be generated as excel. TestExcelExport.page <apex:page controller="TestExcelExport" contentType="application/vnd.ms-excel"> <Workbook… Continue reading DOWNLOAD EXCEL FILE OPTION IN LWC

Flow · Lightning · Salesforce

VARIOUS WAYS TO INVOKE FLOW IN SALESFORCE

This blog is explain what are the ways available to invoke flow in salesforce and we can create flow development easily but we need to know where it is invoke as per business use case. Available ways to invoke flow : Custom Button, Links and Actions.Process Builder Visualforce PageApex Start() MethodFlow URLAs a SubflowLogin FlowEmbedding… Continue reading VARIOUS WAYS TO INVOKE FLOW IN SALESFORCE

Flow · Lightning · Salesforce

HOW TO CREATE RECORD BY USING FLOW IN SALESFORCE

Scenario : Create new Opportunity record by using Flow. How to create record ? Lets create new record, for simple example you can take Opportunity object and create new opportunity record by using Flow. You can follow the steps below to create new record. Step 1 - Go to setup --> Search Flow in Quick… Continue reading HOW TO CREATE RECORD BY USING FLOW IN SALESFORCE

Flow · Lightning · Salesforce

BASICS OF FLOW ELEMENTS IN SALESFORCE (PART 3)

Flow elements : In Flow builder layout , Flow elements available in that left side bar and each element are represents action that the flow execute. Such actions are collecting data from flow users, create records , displaying information and executing business logic or manipulating data.In Flow Builder, the Elements tab displays the types of… Continue reading BASICS OF FLOW ELEMENTS IN SALESFORCE (PART 3)

Flow · Lightning · Salesforce

BASICS OF FLOW ELEMENTS IN SALESFORCE (PART 2)

Flow elements : In Flow builder layout , Flow elements available in that left side bar and each element are represents action that the flow execute. Such actions are collecting data from flow users, create records , displaying information and executing business logic or manipulating data.In Flow Builder, the Elements tab displays the types of… Continue reading BASICS OF FLOW ELEMENTS IN SALESFORCE (PART 2)

Flow · Lightning · Salesforce

BASICS OF FLOW ELEMENTS IN SALESFORCE(PART 1)

Flow elements : In Flow builder layout , Flow elements available in that left side bar and each element are represents action that the flow execute. Such actions are collecting data from flow users, create records , displaying information and executing business logic or manipulating data.In Flow Builder, the Elements tab displays the types of… Continue reading BASICS OF FLOW ELEMENTS IN SALESFORCE(PART 1)