Posts

Showing posts from December, 2024

16.1 how to make our First SF LWC available in app builder ?

 how to make our SF LWC available in app builder ? ChaTo make your Salesforce Lightning Web Component (LWC) available in the App Builder, you need to expose it properly by configuring the component's metadata fil 1. Update the Component’s Metadata File Every LWC has a metadata configuration file with the suffix .js-meta.xml . Open this file and ensure it contains the required configurations. Here’s an example of a basic configuration for App Builder: xml Copy code <?xml version= "1.0" encoding= "UTF-8" ?> < LightningComponentBundle xmlns = "http://soap.sforce.com/2006/04/metadata" fqn = "YourComponentName" > < apiVersion > 58.0 </ apiVersion > <!-- Use the API version of your Salesforce org --> < isExposed > true </ isExposed > < targets > < target > lightning__AppPage </ target > < target > lightning__RecordPage </ target > ...