Webner Blogs - eLearning, Salesforce, Web Development & More - Page 4 of 69

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…

How to assign a devextreme widget under another widget

Author - Webner
|
0 Comments
|

Sometimes we need to add a widget under another widget. In this post, we will cover how to add a dropdown, TextBox, or buttons under the dropdown widget.

See in the below screenshot – here File Size is a drop-down, this is implemented under the onToolbarPreparing in the devextreme datagrid Read more…

Introduction to Big Data

Author - Webner
|
0 Comments
|

Big data is data in a huge volume that cannot be handled by our traditional tools or databases. It is growing exponentially with time. Its size is so large and complexity is high that it is hard to use it efficiently with traditional data management tools.

Take an example of Read more…

Salesforce | LDS Create Record – Record Form and Record Edit Form

Author - Webner
|
0 Comments
|

LDS – Lightning Data Service is used to perform operations on data and access metadata in Salesforce. With LDS, we can view, create new records, and edit records without server calls (Apex methods). Whenever we want to work with Salesforce data, we use LDS as it requires simple and Read more…

Devextreme DataGrid Column Reordering and Saving Column State

Author - Webner
|
0 Comments
|

Devextreme Datagrid comes with a variety of features to work with column appearance at runtime. One among these is Column Reordering.
The column reordering feature in Devextreme allows the user to change the position of columns on the fly on the screen by using drag-drop.

Columns can also be Read more…

Get base64 String From File URL

Author - Webner
|
0 Comments
|

While working on the react native app, sometimes we need to get the base64 string from the file(image/video) URL. There are many packages available that convert a URL to base64 but they are not producing expected results. Finally, I have tried the “rn-fetch-blob” library and I Read more…

ECMAScript (ES10)

Author - Webner
|
0 Comments
|

ECMAScript is the standard for JavaScript and adding new features to JavaScript.
It is a subgroup of JavaScript. ECMAScript 10 is also known as ES10. In ES10 here are the new features.

Array.Flat(): The flat() function recursively flatten your array up to the level you specify, you Read more…

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