Cloud Archives

How to get list of all changes with files name in a Azure Branch

Author - Webner
|
0 Comments
|

When we work with Source Control systems and work in a developer branch that is created from the main/master branch. Sometimes, there is a case when we have pushed multiple times in a branch but we need to check the overall changed files in that particular Azure branch. So Read more…

Using Developer Console in Salesforce

Author - Webner
|
0 Comments
|

Executing Apex code in the developer console

Login to Salesforce and switch to classic and click Developer Console

Click to debug -> and click “Open Execute Anonymous Window” or Ctrl/E

Write code in the window and execute as following

After executing the code log Read more…

Displaying the records from multiple related Salesforce Objects on a Lightning Web Component.

Author - Webner
|
0 Comments
|

The records from a single Salesforce Object can simply be displayed in a Lightning Web Component by using the lightning datatable, but in order to display the records from multiple objects on the same Lightning Page, we need to use the Wrapper Class Read more…

Passing Data From One Lightning Web Component to Another Lightning Web Component

Author - Webner
|
0 Comments
|

Sometimes there is a requirement to pass data from one LWC to another which are not in the same DOM tree i.e they are not linked to each other so for that earlier we used to use the pubsub library but now Salesforce has come up with ‘Lightning Message Read more…

Difference Between Aura Components and LWC

Author - Webner
|
0 Comments
|

Four separate technologies are used together for web components in Salesforce:

Custom Elements: JavaScript APIs help to develop the HTML elements with custom templates, tag names like and behaviours.
Shadow DOM: For isolation of CSS and JavaScript living Standard DOM specification has the definitions of this.
HTML templates Read more…

Add Custom Components to Home Page

Author - Webner
|
0 Comments
|

Log in to your Salesforce account.
Click Setup at the upper-right corner.
Under the Build Section Customize => Home, click Home Page Components or you can search for components on the search bar.

After Clicking Home page Components the following Read more…

Keyring Password Issue

Author - Webner
|
0 Comments
|

Use this if you have forgotten the password of the keyring in Ubuntu, but you want to safeguard a new keyring with a password.

For Ubuntu 18.04, I used the following.
Remove old keyring: For this, we need to change the directory to keyring location Read more…

Upload Image to AWS S3 Using React

Author - Webner
|
0 Comments
|

React provides you a facility to upload files directly from your react end to AWS S3. To achieve it, you need to install a package that is listed below:

npm install –save react-s3

After that, add the following import line to your js file at the top:

import S3FileUpload Read more…

AWS Step Functions

Author - Webner
|
0 Comments
|

What are AWS Step Functions?

Step Functions is a serverless orchestration service that lets you combine AWS Lambda functions and other AWS services to build business-critical applications. Through Step Functions’ graphical console, you see your application’s workflow as a series of event-driven steps.

Workflow build Read more…

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…