Pega

Importing linked WSDL files in Pega SOAP connector

During one of my past projects, we were required to integrate with an external system via a SOAP service to verify a customer’s debt history before allowing overdraft on their bank account. However, we encountered a challenge where the service’s WSDL definition was provided in multiple linked XSD files, making the data model complex. Despite […]

Javascript React JS

Exmaple with useContext in React JS functional components

In this brief article, we will discuss the effective implementation of useContext. For those unfamiliar, useContext is a technique for sharing state within an application between various components, without requiring the passing of parameters from parent components to each child component. This approach facilitates component modularization and eliminates the need for additional properties that are […]

Pega

Mockware – Pega Simulations Made Easy

This post is about my Pega Community Hackathon project named Mockware. I created this project to solve a problem faced by many Pega project team related to integrations. Below listed are some common issues when building/testing integrations with external systems. Running scheduled automation testing without mutating the actual data. Missing actual data for satisfying some […]

React JS

Using ChaptGPT for generating React JS code

I was using copilot for while and it was really helpful to speed up the development. But wanted to give a try how ChatGPT compares with copilot as assistance. So I choose a simple use case of generating code for displaying list addresses and editing them in screen. Here is the first prompt I gave […]

Java

Sending HTML Email in Java Spring boot

Recently was refactoring a Java Spring boot project which I bought in Codecanyon. It had an API endpoint to send a HTML verification code. The HTML was hard coded inside the Java code and couldn’t be formatted easily because of this. So I planned to use https://www.thymeleaf.org/ as the templating engine. Here is the step […]

Database

Reset postgres sql auto increment key

Sometimes after you have imported data in to postgres sql database you might find the new inserts are failing as the generated unique sequence keys are conflicting with existing records. You could fix this by setting the new sequence value to the next values by checking the highest number already exists in records. Please run […]

Codeigniter

Removing index.php from CodeIgniter URLs

If you have developed CodeIgniter application and want to remove the index.php file from the application generated URLs, you can follow this simple steps. As a first step you need to go to the config file and remove the index.php. If you have deployed the website to apache web server please make sure the mod_rewrite […]

Back To Top