Webner Blogs - eLearning, Salesforce, Web Development & More

How to switch the Mysql authentication method from auth_socket to mysql_native_password

Author - Webner
|
0 Comments
|

In this article, we will come to know how we can switch the MySQL root user default (Auth_Socket) authentication method to mysql_native_password.

Auth_socket Authentication

Auth_socket authentication is a server-side default authentication plugin that is used to authenticate the client input in order to access databases. Auth_Socket authentication Read more…

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…

Using Devexpress Grid Control with List object in Windows Form C#

Author - Webner
|
0 Comments
|

From the toolbox window, check the Data and Analytics section in the toolbox menu and drag & drop the GridControl on your windows form.

Devexpress Grid control uses Views to present data from a bound data source. With the help of views records and fields appearance and behaviour with different display Read more…

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…

1 2 3 4 5 6 ... 66 Next page ›