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

What is Schema in Salesforce?

Author - Webner
|
0 Comments
|

Schema is a namespace provided by salesforce which provides schema metadata information using different methods and classes.

ChildRelationship Class
This class contains methods to access the child relationship as well as the child sObject for a parent sObject.
DataCategory Class
This class represents the categories within Read more…

Remove the Logged in account from Microsoft Teams

Author - Webner
|
0 Comments
|

Sometimes we do not want to save our profile on any account on some particular machines for security reasons. By default, the Microsoft Teams app saves the login credentials when we first log in, so next time it will not ask you to enter the password if you are already Read more…

Tab view in React-Native

Author - Webner
|
0 Comments
|

It provides various packages to create tabs like views in the application. So react-native-tab-view is one of them. This component is implemented using the react-native-pager-view which is another component that allows the user to swipe left or right throughout the page data. React-native Read more…

What Role Does Insurance CRM Play in Agency Management?

Author - Webner
|
0 Comments
|

Agency management software, according to the definition, is a digital solution that enables life, health, and property & casualty insurance agencies to automate their day-to-day duties and increase the efficiency of their operations. The new-age insurance CRM software has been developed to meet the needs of insurance agencies Read 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…