Webner Blogs - eLearning, Salesforce, Web Development & More - Page 5 of 70

Salesforce | Lightning Navigations in LWC

Author - Webner
|
0 Comments
|

Lightning Navigations are used to generate a URL or navigate to a page reference. With lightning navigation, we can navigate to Pages, Records, Lists, Webpages, Custom tabs, Reports, etc.

There are the steps to use the navigation in LWC:

Step 1: import { NavigationMixin } from ‘lightning/navigation Read more…

How To Fix Busybox Initramfs Error On Linux based OS

Author - Webner
|
0 Comments
|

Some time our OS boot process gets stuck to the BusyBox shell and ends up at the initramfs prompt.

ERROR:
—————————————-
BusyBox v1.27.2 (Ubuntu 1:1.27.2-4ubuntu3.2) built-in shell (ash)
Enter ‘help’ for a list of built-in commands.

(initramfs)
—————————————-

SOLUTION:

Read more…

Service layer in Angular

Author - Webner
|
0 Comments
|

Angular service is very useful to organize business logic or data in the different components of an application. The methods written in the service file can be invoked from different typescript files of a component. The controller is responsible for binding data with view and model.

How to use Read more…

Hooks in React

Author - Webner
|
0 Comments
|

Hooks are the new feature of the react. They let you use the state and other features of React without creating a class. They are mainly used to handle state and other side effects in react functional components. Side effects are essentially anything that affects something outside of the scope 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…

Collections

Author - Webner
|
0 Comments
|

Collections:

It holds many values or objects in a specific series.
The two types of collections in C# :

Non-generic collections
Generic collections

NON-GENERIC COLLECTIONS

Hierarchical structure of non-generic collections:

<interface> IEnumerator
<interface> IEnumerable
<interface> ICollection
<interface> IDictionary Read more…

How to Pass Data From one Component to another Component in Lightning Using Events

Author - Webner
|
0 Comments
|

We can send data from One Lightning Component to Another Lightning Component using Events. We can use Application Events to send data from one Lightning Component to another.

We have to follow 4 steps to send data from one component to another component.

Create Event
Register Event
Fire 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…

Auth Session expiring in Laravel – Resolved

Author - Webner
|
0 Comments
|

I have created a web application in Laravel. I am using an authentication plugin to authorize the users while logging-in on my web application. On my local system, everything was working fine.

But when I uploaded my Laravel project from the local server to the test server, I faced Read more…

Date Time format in CSV to upload on Salesforce

Author - Webner
|
0 Comments
|

While uploading CSV to create records in Salesforce using workbench. Sometimes we need to upload date-time fields. I have used many formats which were suggested in the Salesforce documentation but none of them works for me. The only format for date-time which works is
YYYY-MM-DDTHH:MM Read more…

Batch Class

Author - Webner
|
0 Comments
|

Batch class in salesforce is used to run large jobs (think thousands or millions of records!) that would exceed normal processing limits. Using Batch Apex, you can process records asynchronously in batches (hence the name, “Batch Apex”) to stay within platform limits 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…

How to remove a property from Json in C#

Author - Webner
|
0 Comments
|

Description: Suppose we have the following JSON data and we want to remove the property “RunIsolated” (highlighted) under the compositeRequest to get the final JSON without this property:

Solution for Json:

Following is the sample code to achieve this:
string jsonContent = “{\”allOrNone 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…

Why and When to use Async and Await?

Author - Webner
|
0 Comments
|

In order to get a clear vision of these keywords, async and await, let us first understand the concept of synchronous and asynchronous programming.

Synchronous Programming:

It is a method of programming in which tasks are performed one at a time. The next task Read more…

Salesforce Org Browser

Author - Webner
|
0 Comments
|

The Org Browser makes it easier to retrieve metadata sources by displaying the available metadata types and their corresponding components in the default org. We can easily retrieve metadata sources, without having to use a manifest file. The Org Browser is available only in non-scratch org such as sandboxes Read more…

Features of lightning:recordEditform, force:recordData, lightning:recordViewform in Salesforce Lightning

Author - Webner
|
0 Comments
|

In salesforce lightning, sometimes we need to create, edit and save the records in the component. This is the time 3 types of components come into mind that arṣe recordEditform, RecordViewfrom, and recordData. We always get confused about which one to use.
The functionality of these components is basically Read more…

Salesforce | UI Record API in LWC

Author - Webner
|
0 Comments
|

UI Record API is used for fetching, creating, updating and deleting the particular record without using the SalesForce Apex Class. These APIs are:

Get Record
Get Field Value
Create Record
Update Record
Delete Record

Below is the sample code of the js controller of LWC for getting the particular record Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 ... 70 Next page ›