Our Blogs

Abhinav Gupta Abhinav Gupta

WSC Apache Axis ClassCastException Issue Fixed!

This post is especially for those with a Java application (production) working with SFDC web services via Apache Axis stubs (WSDL2Java). However, due to the known advantages of WSC, you want to add some new functionality, such as the Bulk API.

Read More
Abhinav Gupta Abhinav Gupta

Salesforce WSC Metadata WSDL Connector Configuration Issue – Solved!

I am working and doing R&D with the Salesforce WSC library to get Tolerado ported to it. Most of the pieces worked well, but I was initially stuck with Metadata WSDL issues. I faced the following two major blockers: Metadata WSDL Compilation Issue and Metadata Connector Config Issue.

Read More
Salesforce Abhinav Gupta Salesforce Abhinav Gupta

Secure YUI Combo Usage Guide

YUI Dependency Configurator is a great tool for getting a single unified JS or CSS instead of several css/js files. Only problem with that is it doesn't works over "HTTPS". Browser's like Internet Explorer fail to load a web page delivered over HTTPS containing JS/CSS delivered over un-secure(HTTP) URLs…

Read More
Salesforce Abhinav Gupta Salesforce Abhinav Gupta

Apex Implementing Singleton Design Pattern

Singleton is pretty popular and one of the most simple design patterns. On many occasions, we want an Apex class to have a single instance only. Fortunately, it's possible and pretty easy with Apex. There can be different strategies to implement singleton in Apex (inspired by my Java days learning). Before that, the following are the prerequisites to make a class Singleton.

Read More
Salesforce Abhinav Gupta Salesforce Abhinav Gupta

Custom Settings – Null Pointer Exception Quick Fix!

Custom settings in Salesforce are a valuable tool for development, but they can trigger unexpected Null Pointer Exceptions when deployed to new orgs without predefined records. This common issue arises from calling CustomSetting__c.getInstance() without any available data, resulting in runtime errors.

Read More
Salesforce Abhinav Gupta Salesforce Abhinav Gupta

Visualforce Salesforce jQuery Ajax, how to?

This post is for those who want to make AJAX calls in VisualForce using 3rd party JavaScript frameworks like JQuery, Yui, Dojo, etc. Though most of the time the built-in visual force Ajax works pretty well, you don’t need to make your hands dirty by doing this.

Read More