Webner Blogs - eLearning, Salesforce, Web Development & More

RabbitMq – Open Source Message Broker

Author - Webner
|
0 Comments
|

RabbitMq Installation

Installation on Linux machine

Update the package list
sudo apt-get update -y
Install prerequisite in most cases
sudo apt-get install curl gnupg -y
Install RabbitMq
sudo apt-get install -y rabbitmq-server
Start RabbitMq
sudo systemctl start rabbitmq-server

RabbitMq Installation Read more…

When to use Record Types Vs Page Layouts?

Author - Webner
|
0 Comments
|

Page Layouts –

Page Layout determines the fields that are displayed to users on a record. They allow us to add fields, sections, links, custom buttons, and a few other features.

Many Page Layouts can be created and applied to different groups of users, with the goal of creating Read more…

Salesforce DX – Spinning Up a new scratch org

Author - Webner
|
0 Comments
|

Steps to create scratch org in Salesforce DX

Open the directory folder where the Salesforce DX code is present.
Create scratch org with the help of a command palette or Terminal by authorizing dev hub.
To Authorize dev hub Press Ctrl+shift+P and type (Authorize a Read more…

Some Tips Useful For Moodle/Totara Theme Customization

Author - Webner
|
0 Comments
|

How to Customize the Login Page from the frontend?

Step 1: Log in to your Moodle site as an admin user and navigate to the Manage Authentication option:
Settings>Site Authentication>Plugins>Authentication>Manage Authentication

Step 2: Now you are on the Manage Authentication Read more…

Nuget packages update – Scripts bundle error caused by Bootstrap 5.x in .net mvc application

Author - Webner
|
0 Comments
|

I recently updated my installed packages from nuget to work with the latest packages, but my .net application stopped working by throwing ‘object reference not set to an instance of an object’. It was displaying the red coloured text indicating the error line which was pointing to the ‘scripts’ bundle Read more…

How to use Custom Labels in Lightning Web Components

Author - Webner
|
0 Comments
|

Custom Labels are text values that can be translated into any language that salesforce supports. We can use custom labels to represent help text or error messages to the users in their native language. Custom labels can be fetched from apex class, visualforce pages, aura components, and LWC (Lightning Web Read more…

React-Native-Fast-Image Introduction

Author - Webner
|
0 Comments
|

For the most part, React Native’s Image component handles image caching in the same way as browsers do. If the server is returning proper cache-control headers for images you’ll generally get the sort of built-in caching behavior you’d have in a browser. Even so many Read more…

RabbitMQ

Author - Webner
|
0 Comments
|

You can think of RabbitMQ as a mediator between the two parties. One is known as the producer that produces goods and services and stores them into RabbitMQ. Another one is the consumer that consumes goods and services from the RabbitMQ.

So, RabbitMQ accepts, stores, and forwards binary blobs of Read more…

Code Optimization in C#

Author - Webner
|
0 Comments
|

What is Optimization?

The word Optimization is derived from the Latin word Optimal which means the best. Optimization is a methodology of making a system or decision fully perfect, functional, and effective.

Now, what is code Optimization?

In terms of code, Optimization is the process of Read more…

Upload Image file using AJAX and jQuery

Author - Webner
|
0 Comments
|

This functionality is used when we want to store an image and display it on the screen without reloading the whole page.

Create Html file and write down the following code to upload an image.

The above code will display the screen as following:

Description Read 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…

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