Lightning/logger - Add Observability to your custom Lightning Web Components | Salesforce ☁️⚡️
Salesforce Bolt
by
3w ago
 lightning/logger it's generally available to use now and can be used to add observability to your custom Lightning Web Components. lightning/logger is available only in Lightning Experience and not in the Salesforce mobile app. To use lightning/logger, make sure Event Monitoring is enabled in your org and the "Enable Lightning Logger Events" toggle is set to On. lightning/logger has one method, log(). log() Logs the event data from the component. PARAMETER TYPE DESCRIPTION message string or object The message to be logged to the Lightning Logger Event Type i ..read more
Visit website
Webhooks in Salesforce - How to Setup and Configure for Integration | LWC Stack
Salesforce Bolt
by
1M ago
 Hi there, in this blog we will learn about webhooks. In simple words webhooks are a kind of mechanism to alter system from another system. Let's understand it using an example - Let's say there are two servers "Server A" and "Server B". Server A is the source from where we need to send the data and Server B is the target destination for the data. But there is another server database "Server C" in between them, so in end to end integration Server A will be sending data to Server C and Server B will be fetching it from Server C. To fetch the data Server B will be hitting API request to ..read more
Visit website
Setup Visual Studio Code for Salesforce DX
Salesforce Bolt
by
3M ago
 Setting up Visual Studio Code (VS Code) for Salesforce DX involves several steps. Salesforce DX is a set of tools and features that enable you to develop and manage Salesforce applications throughout their entire lifecycle. Here's a step-by-step guide to help you set up Visual Studio Code for Salesforce DX: 1. Install Visual Studio Code: Download and install Visual Studio Code from the official website: Visual Studio Code. 2. Install Salesforce Extensions for Visual Studio Code: Open VS Code. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the s ..read more
Visit website
Refresh GraphQL Query Result in Lightning Web Components Salesforce ☁️⚡️
Salesforce Bolt
by
4M ago
In this blog I will show you how you can refresh the GraphQL query results in your Lightning Web Components. The GraphQL wire adapter automatically caches your query results to improve the loading performance of subsequent queries. You can trigger a refetch of the query results and update the cache by calling the refreshGraphQL(result) function. When calling refreshGraphQL, you must pass the exact object that was previously passed to your wire function or variable. The wire function or variable must preserve the original value from the wire adapter and can’t use a destructuring parameter as ..read more
Visit website
Parent and Child Relationship Queries in GraphQL | #GraphQL Salesforce ☁️⚡️
Salesforce Bolt
by
4M ago
 You can specify a parent or child relationship in your query for the GraphQL wire adapter. Objects can have children relationships to the same object, just like a parent account can have child accounts. Some objects have children relationships to other objects. For example, accounts have child relationships to assets, cases, and contacts among other objects. The GraphQL API schema provides details of parent-child relationships. For example, the Account field is defined as a parentRelationship type on the Contact object. Similarly, the Cases field is defined as a childRelationship type ..read more
Visit website
Delay GraphQL Query Execution in Lightning Web Component Salesforce
Salesforce Bolt
by
5M ago
 In this blog you will learn how you can delay your GraphQL query execution. GraphQL is also a wire adapter and as wire adapter behaves it will execute on the load of the page. Now assume a situation where the query parameters are not available on the load of the page which is required to filter out your query? In that case you need to delay your query execution until you are getting required parameters.  To delay the execution you can use the getter parameters for your query and variable values in GraphQL and return the value as undefined if your required parameters are not avail ..read more
Visit website
Lightning Record Picker with Dynamic Targets in Salesforce | Lightning Web Components
Salesforce Bolt
by
5M ago
 In this blog we will learn about new Lightning Record Picker component. It was recently introduced by Salesforce in its Winter '24 release. It's kind of a custom lookup component which can be customized and used in your custom lightning web components or apps. If you are one of those developers who likes to tailor the user experience as per requirement then this component is for you guys. This is not just a component I would say it's a complete bundle of lookup functionalities which can be customized as per requirement. You can have below configurations in it -  Matching fields ..read more
Visit website
Top 10 Reasons to Learn Lightning Web Component | Free Crash Course Salesforce
Salesforce Bolt
by
5M ago
 Lightning Web Components (LWC) is a modern UI framework from Salesforce for building web components on the Lightning Platform. Learning Lightning Web Components can be beneficial for various reasons, especially if you are working in the Salesforce ecosystem. Here are the top 10 key reasons to learn Lightning Web Components in Salesforce: 1. Performance Improvement: Lightning Web Components are designed to deliver better performance compared to the earlier Aura framework. LWC leverages modern web standards and is optimized for speed, resulting in faster load times and improved user ex ..read more
Visit website
GraphQL APIs in Lightning Web Components Salesforce | #GraphQL LWC Stack ☁️⚡️
Salesforce Bolt
by
6M ago
 In this blog we will learn about GraphQL APIs and how you can use it in Lightning Web Components with couple of examples. The GraphQL wire adapter manages your data using Lightning Data Service (LDS). You don’t need different wire adapters for each query defined in the GraphQL schema, unlike the other wire adapters. Instead, LDS provides a single wire adapter that accepts a GraphQL query document and a variables map. Parameters  query— (Required) Parsed GraphQL query. Parse the query using the gql JavaScript template literal function. gql parses the GraphQL query into a format th ..read more
Visit website
Toast Message Updates | Close Actions, Hyperlinks, Toast Library Lightning Web Components Salesforce
Salesforce Bolt
by
7M ago
Recently Salesforce has introduced some new updates in Toast Message functionality in it's winter'24 release. In this blog you will learn about these new features in the Toast Message. 1. Toast Library: Now you can use the toast library 'lightning/toast' to use toast messages instead of PlatformToastEvent as it's not available in LWR sites. 2. Hyperlinks: Latest toast messages updates comes with a Hyperlink as well. You can add multiple Hyperlinks in your toast message title & message text. 3. Close Action: You can now trigger something on the close action of your toast message. It coul ..read more
Visit website

Follow Salesforce Bolt on FeedSpot

Continue with Google
Continue with Apple
OR