Category: Salesforce
Creating custom object in Salesforce
Log in to your Salesforce account. Click Setup at the upper-right corner. Under the Build section in Salesforce, click Create and select Objects or you can search objects on the search bar To create a custom object, click New Custom
Download S3 bucket file from Salesforce
When we are working with Salesforce and s3, sometimes we need to download a file from the s3 bucket without using an HTTP request. We can achieve this by generating URLs from apex code. This is a signed URL to
Introduction to Salesforce Sites
Salesforce Sites enables you to form public websites and applications that are directly integrated into your Salesforce organization—without requiring users to log in with a username and password. You can publicly expose any information stored in your organization through a
Salesforce | Iterate list in LWC
In LWC, we have two ways to display the list of records in our web component for:each: for:item=”currentItem”: This is used to access the current item. for:index=”index”: used for accessing the current item’s index. key={uniqueId}: used to assign a unique
Org Browser on VS Code in Salesforce
The Org Browser helps us to view all the available metadata types and their relating components in your default org. With the help of this feature, we can retrieve the metadata source easily without using a manifest file. The non-scratch
About Salesforce Queues
The collection of records without any owner are the Salesforce Queues. Only the users having permissions to the queue can examine every record of it and can claim ownership of any of them. Queues are basically used to assign/distribute/prioritize the
Salesforce | Decorators in LWC
There are three decorators in lightning web components. These decorators add functionality to property or function. @api: To expose a public property, decorate this with @api. Public properties are reactive which means changes to the value of a reactive property
Get records from a related object in Lightning Web Component
Problem: Suppose we have an object with a lookup field and we want to fetch a record with related object data in Lightning Web Component. Solution: We can get a record of the object directly in the LWC JS code.
Test Class In Salesforce
Test Class is an important part of the salesforce. Test Class is a class where we test our written working code that means the code is working right or not. In the Test Classes, we made the dummy data by