Webner Blogs - eLearning, Salesforce, Web Development & More

How to Set and Get Window size/position using Selenium Webdriver

Author - Webner
|
0 Comments
|

How to Set and Get Window size/position using Selenium Webdriver

In website testing, most of the time, we need to set window position and size or get window size and position to test the website responsiveness. Selenium Webdriver has many applicable methods using which we can resize Read more…

How to Retrieve Metadata of AWS EC2 Machine

Author - Webner
|
0 Comments
|

Metadata is data about your EC2 instance that is used to manage and configure the instance. Developers use the metadata in the script in order to configure the instances and their resources.

Please login to your EC2 machine and run the following command:

# curl http://169.254.169.254/latest Read more…

LWC to create a custom editable datatable.

Author - Webner
|
0 Comments
|

LWC also provides a standard editable datatable, but it can’t be flexible in design. So we can create a custom datatable by using LWC in the following way, in which we can make changes as per our needs.

LWC HTML Code for datatable:

LWC JS Code Read more…

How to customize header filter value in devextreme

Author - Webner
|
0 Comments
|

Devextreme provides lots of features. One of them is customizing the header filter value in devextreme that applies to columns.

Sometimes we need to apply our own custom data for filters. Here I will explain how to add our own custom data in the column header filter. The below image Read more…

Create Component In LWC and display in salesforce page

Author - Webner
|
0 Comments
|

Following are the steps to create component in LWC and display in salesforce page:

Create Default Search org from VS code.

Authorize an Org.

Create Lightning web component.

After creating the lightning web component it will show the component under the LWC folder as shown in the image Read more…

Call Apex Function inside an LWC Function

Author - Webner
|
0 Comments
|

While creating the LWC component whenever you want to call an apex function you use the @wire function in it and pass parameter in it which has @track or @api decorator attached with it like @track id; or @api id; and whenever there is any change in the parameter the Read 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…

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