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

Rest CallOut in LWC

Author - Webner
|
0 Comments
|

Rest CallOut can be made in Salesforce in two ways:

Server-side controller (Apex Class)
Client-side controller (Js Controller)

Server-side controller (Apex Class): We can make an API callout from Apex , which provides support for REST and SOAP callouts. Before making callouts from the apex, we Read more…

Mustache Templates in Totara

Author - Webner
|
0 Comments
|

To write blocks of HTML directly in php/javascript by concatenating strings, a template is an alternative. Totara provides the templating language that is called Mustache. This is a new way to render the output. But, the output of using templates and directly using HTML will be the same.

The Read more…

What are the ACORD Forms/Certificates?

Author - Webner
|
0 Comments
|

Introduction

ACORD stands for Association for Cooperative Operations Research and Development is an international organization that provides standardized certificates and forms in the sector of insurance and related financial services industries. ACORD was established in 1970. In its earlier time, It was settled as Read more…

Read PDF content using Selenium

Author - Webner
|
0 Comments
|

To read PDF document file in Selenium, we can use a Java library called PDFBox. Apache PDFBox is an open-source library that helps in managing PDF files. We can use it to verify the text or images present in the file. To use this with Selenium testing, we need Read more…

What is the National Producer Number and who assigns it?

Author - Webner
|
0 Comments
|

National Producer Number:

NPN is a unique NAIC identification number that is assigned through the National Association of Insurance Commissioner’s which is used to track individuals and business entities. It is assigned through the license application process.

The National Insurance Producer Registry (NIPR) was established in October Read more…

Null Object Pattern in C#

Author - Webner
|
0 Comments
|

The null object pattern is designed to handle the null exception of objects without implementing too many null checks in the application. This is done by identifying the behaviour that should occur when a null is encountered and declaring a default object for that instance that should be passed when Read more…

MVC Pattern in C Sharp

Author - Webner
|
0 Comments
|

Introduction

MVC stands for Model View Controller. It is a software architectural pattern that splits the application into three parts: model, view, and controller. The model is the data, the view is the user interface, and the controller connects the model and view. This Read more…

Homeowner Application Coverages

Author - Webner
|
0 Comments
|

Homeowner Insurance helps you protect your home in case of any hazard, or an accident. A few of the coverages that fall under Homeowners insurance are:

Dwelling

Dwelling coverage in the homeowner’s application helps you to pay for the repair or rebuilding of the physical structure of Read more…

Inheritance in Apex

Author - Webner
|
0 Comments
|

Inheritance is a feature of OOPS that allows us to inherit the properties or methods of a class. The base class acts as a parent, the class that is inheriting is called the child class. The child class has access to public and protected methods or variables. Just like every Read more…

How to deploy the LWC component on a Local Development Server

Author - Webner
|
0 Comments
|

You can deploy your LWC component on a local development server. Once you deploy your component on a local server, then you do not need to deploy again and again to see the output. You just need to save your code in VS code and then the updated output will Read more…

Decorators in Lightning Web Component

Author - Webner
|
0 Comments
|

The Lightning Web Component has three decorators.

@api
@track
@wire

@api: If we want to pass any variable from Parent component to child component then we use @api decorator. To pass data to the child component, we need to define a variable with @api decorator in the child Read more…

Custom font in Visualforce Page

Author - Webner
|
0 Comments
|

We can use custom fonts in the Visualforce page using Salesforce Static Resources. Following are the steps to use custom fonts:

In Setup, use the Quick Find box to find Static Resources and create new a resource with ZIP of the font file as given below:

Create a css file Read more…

Insurance Endorsement

Author - Webner
|
0 Comments
|

Insurance Endorsement?

An endorsement is a policy modification that can be made throughout the policy’s term without having to renew it. As a result of the endorsement, your premiums may change. They’re commonly found in property and casualty insurance plans. Health and life insurance coverage can Read more…

Multi-Car Credit In Auto Insurance

Author - Webner
|
0 Comments
|

What Is a Multi-Car Insurance Policy?

A multi-car insurance policy covers multiple cars, trucks, or other vehicles. You can save money by bundling your automobiles.

This strategy is also known as a “schedule of cars” policy or a “many vehicle policy.” These policies are usually only Read more…

Object Pool Design Pattern

Author - Webner
|
0 Comments
|

Definition

While building applications, there are objects that are expensive to build in terms of the system resources that they require. Creating such objects, again and again, will impact the overall performance of the application. To prevent the overall work of creating new objects, again and again, the Read more…

If you forgot the Administrator password for widnows EC2 machine

Author - Webner
|
0 Comments
|

Problem: If you forgot the Windows EC2 machine Administrator password other than the default auto generated password provided by AWS after using the key pair while launching the EC2 machine, and still you can’t access the EC2 windows machine with default auto generated password then follow the Read more…

Drag and drop .url issue

Author - Webner
|
0 Comments
|

Chromium-based browsers (chrome and edge) recently produced issues related to drag and drop hyperlink HTML elements.

I had a list of file names in the grid in my application and file names were created as hyperlink (<a></a>) elements which were allowed for dragging. The whole grid Read more…

Bulk State Transition

Author - Webner
|
0 Comments
|

The Bulk State Design pattern is the general pattern that executes the bulk of the actions in Apex based on the change of state of one or more records. Bulk transitions increase the code reusability by allowing only records that fulfill the requirements to be processed.

Design Patterns for Read more…

NodeJs ZLIB – Zip and Unzip files using Nodejs

Author - Webner
|
0 Comments
|

Compression and decompression of files also mean to zip or unzip files using Nodejs. It is implemented in Nodejs using the Zlib module.
We can access Zlib using the following command.
const zlib = require(‘zlib’);
Zip and Unzip of files can be done by piping the source stream data into Read more…

The RefreshApex Method and its implementation in the Lightning Web Component

Author - Webner
|
0 Comments
|

The refreshApex() function is used when we want to refresh the page data in lightning web components. We can update the wire function or parameter data using refreshApex (), and then component values will be rendered. Refresh apex works only when you pass the complete response as the argument.

Syntax Read more…