Cloud Archives

How to Create and Add a Lightning Web Component into the Lightning App in your Salesforce Scratch org

Author - Webner
|
0 Comments
|

After assuming that the user already has the VS Code and all the necessary packages like Salesforce CLI installed and has created a scratch Org into the system, let’s begin the process to create and add a lightning web component into our org’s Homepage and App.

To Read more…

How to get Salesforce Custom Field Ids in Apex

Author - Webner
|
0 Comments
|

We can get the Ids of Salesforce Object’s custom fields in the Apex code using Tooling API. Following is the example code for the same:

String objectDevName = ‘ObjectName’;
ToolingAPI toolingAPI = new ToolingAPI();
List objectData = (List)toolingAPI.query(‘Select Id From CustomObject Where DeveloperName = \” + objectDevName + ‘\”).records;
Map customFieldIds = new Map Read more…

How to create a Salesforce Scratch Org

Author - Webner
|
0 Comments
|

Scratch org is a disposable and source-driven deployment of Salesforce metadata and code which is made for developers (developing specific modules) and for automation that is continuous integration or continuous development. Scratch org is a configurable org/sandbox which allows the developers to emulate different Salesforce editions with different Read more…

How to create a collapsible section in Salesforce LWC

Author - Webner
|
0 Comments
|

Problem: We can create a collapsible section in Salesforce Lightning Web Component using slds-section slds-is-open LWC classes or HTML <details> tag. But we are are using LWC classes slds-section and slds-is-open we need to provide svg icon as given the below Read more…

How to create a scratch org with namespaces in Salesforce DX

Author - Webner
|
0 Comments
|

Salesforce DX is a platform that allows us to create multiple scratch Orgs with namespaces equivalent to the packaging organization. In order to achieve this, firstly link your Dev Org with namespaces to the Developer Hub Org. This process is also known as registering namespaces.

To register a namespace in Read more…

Edit Office Documents online in web application using Office365 OneDrive APIs

Author - Webner
|
0 Comments
|

This post is about editing office documents online in a web application interface for users. In this, you will require an office 365 license to use Microsoft graph APIs to edit documents through Onedrive.

To edit MS Word documents online, one of the quick approaches is saving the Word document Read more…

How to create Salesforce Sites?

Author - Webner
|
0 Comments
|

Salesforce Sites enables you to create public websites and applications which directly integrate with your Salesforce organization—without requiring any login.

To set up a Salesforce Site:

From Setup, enter Sites in the Quick Find box, then select Sites.
Register a custom Salesforce Sites domain for your organization Read more…

Global picklist set in Salesforce

Author - Webner
|
0 Comments
|

A Custom picklist is a list tied to a particular object as a field on the object.

A Global picklist is which exists independently as a global value set. Its values are shared with any object picklist based on it.

Steps to add Read more…

What is Salesforce?

Author - Webner
|
0 Comments
|

What is Salesforce?

Salesforce is a customer relationship management tool (CRM), which is used to keep track of a company’s relationship with its existing and potential clients.

Salesforce is a cloud-based software company that provides its customers with a platform to develop their own applications without Read more…

Salesforce Remote Site Settings

Author - Webner
|
0 Comments
|

An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending an HTTP request from Apex code and then receiving the response and When we want to make a callout from Salesforce then we need to Read more…

Salesforce Trailhead Community

Author - Webner
|
0 Comments
|

The thought behind Salesforce Trailhead is that it guides you through how to learn Salesforce. It permits individuals with all degrees of Salesforce information to investigate and learn through a free Salesforce asset with no related knowledge required.
In addition to the fact that it teaches you, however as you Read more…

Performance Testing of Salesforce

Author - Webner
|
0 Comments
|

While using a software application If the end-user is facing difficulties like: “Read timeout error” “An internal server error has occurred,” and “Service unavailable” then it’s sure that you have some performance-related issues with your application. These performance issues affect user satisfaction, user experience, and the reputation Read more…

Query Plan in Salesforce

Author - Webner
|
0 Comments
|

The Query Plan tool within the Developer Console can help speed up SOQL queries done over large volumes. Use the Query Plan tool to optimize and speed up queries done over large volumes.

Enable and Use the Query Plan Tool

In the Developer Console, click Help | Preferences
Set Read more…

Install Openssl with source code

Author - Webner
|
0 Comments
|

To install Openssl, we have to perform all steps with the root user. Please check the steps below:

sudo su (Do all operation with root user)
Change the directory to your desire location
cd /var/www/html/
Make two directories
mkdir Release
mkdir Sources
Go to the Sources folder and Read more…

Security token in Salesforce

Author - Webner
|
0 Comments
|

How to generate an access token?

Step 1: From Setup, enter Apps in the Quick Find box, then select App Manager.
Step 2: Locate the OAuth connected app in the apps list, click and select View.
Step 3: In the Initial Access Read more…

How to call Salesforce API from Postman

Author - Webner
|
0 Comments
|

To verify the output of a web service in salesforce we need to connect it with the postman. To connect salesforce with postman we need to follow these steps.

Get access token:- To get access token.

Click on the authorization tab in the request section.
Select OAuth2.0 Read more…

Lightning Web Component (Salesforce)

Author - Webner
|
0 Comments
|

LWC is a new programming model leveraging recent web standards. This framework is quite powerful and allows developers to do customization with the best approach. Web Standards and Specialized services like Base Lightning Components, Lightning Data Service, and User Interface API allow in achieving the Modern Rich UI Implementations in Read more…

Salesforce Einstein

Author - Webner
|
0 Comments
|

Salesforce Einstein is the first encompassing AI for CRM. Einstein is an integrated set of AI technologies that make Salesforce Customer 360 degrees smarter and bring AI to trailblazers everywhere.

Salesforce is one of the earliest adopters of AI capabilities and technology and therefore the largest customer relationship management software Read more…

Salesforce Dashboard Customization

Author - Webner
|
0 Comments
|

Dashboards in Salesforce are the graphical representation and easily understandable visual presentation of reports data in salesforce. Salesforce dashboards have some visual representation components like graphs, visualforce pages, charts, tables, gauges, and metrics. Salesforce dashboard components are used to represent data. One can use up to 20 components in a Read more…

How to get Salesforce object records with only required fields in Apex

Author - Webner
|
0 Comments
|

Problem:

If you want to get records with dynamic fields (all fields or only required fields) selection of an object in Salesforce.

Solution:

List normalFields = new List();
List requiredFields = new List();
Schema.DescribeSObjectResult objectDetails =
ObjectName.sObjectType.getDescribe();
Map fieldsMap = objectDetails.fields.getMap();
for(String fieldName : fieldsMap Read more…