
Salesforce. AI. Web3
Using Apex:Variable in Visualforce to control rendering of HTML Markup
This post is for developers working on Visual Force. I came across an interesting way to control the rendering of HTML markup; previously, I was using “<apex:outputPanel .. />” for controlling the rendering of some HTML markup. This approach works….
Tolerado SFDC WSC Helper APIs
I am researching on how to best use & integrate “WSC” with Tolerado. This research mainly focuses on
How to preserve and reuse a single sfdc login session across the all the WSDLs. This should again go in transparent fashion as with Tolerado for Apache Axis…
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.
How Tolerado improves the Salesforce Web Service Client code !
Developers are always too concerned about many things, like making the Web Service call work right for them and implementing the biz requirements. So handling exceptions and giving them proper treatment is mostly not a priority…
Why WS-Client should RETRY Web Service Exceptions ?
Web Services are something that are either used as provider or client by almost every developer. Web services are usually exposed via SOAP, these days RESTful web services are common too. One thing common in all types web services is HTTP protocol, its the base protocol wrapped by SOAP / REST implementations…
Apex “No Operation Available Request” Web Service Errors!
Sometimes while working with Salesforce Web Service APIs, we get a “No Operation Available for Request” error. This error comes because the “Web service ENDPOINT URL” is not correct. In my case, this error came when I was trying to use “apex.wsdl” for executing Apex test cases via my Java code.
Using System.runAs() for Too Many Query Rows 501 errors!
501 error comes when we cross the governor limit, that is, “total number of records retrieved by SOQL queries”. As per this limit, a single Apex testMethod can only retrieve 500 rows in all SOQL calls.
Apex Library - Fast XML DOM
Apex wrapper on Apex DOM classes(Document, XmlNode). It exposes W3C DOM API for XML manipulation, which is pretty popular and known to most developers, so saves…
Fast XML DOM vs XmlDom Benchmarks!
Today I got a nice comment about “Fast XML DOM” script consumption being more of Ron Hess’s “XmlDom.cls”. That surprised me, and I thought, Why don’t I give it a try and publish the results?
Fast XML DOM featured in SFDC March 2010’s Newsletter !
My Open Source SFDC Endeavor "Fast Apex XML DOM" was featured by SFDC March 2010 Developer Newsletter…
Fast save and refresh on force.com Eclipse IDE
Force.com(Apex/Visualforce) developers spend lot of coding time waiting for file SAVE operation to finish. This is specially panic for developers working on huge force.com projects having many classes, pages, objects and components…
Fast Apex XML DOM updated with 3 new Node APIs
Today I was done with coding the 3 important missing API’s in Fast Apex XML DOM’s TODO list. The latest code is checked into Google Code SVN. Following are the newly added API’s to TG_XmlNode.cls..
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…
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.
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.
Fast Apex Xml Dom on “salesforce.com” CodeShare Now !
Apex wrapper classes aka “Fast Apex XML Dom” has reached a point that I can share with all on force.com Codeshare. Now Apex test classes have more than 95% code coverage(All Legal, no fake lines added :)))…
Fast Apex XML Dom Quick Started Guide !
This post explains how to quickly start using the new wrapper Apex API. Developers coding previously on either Ron Hess’s XmlDOM or standard w3c xmldom will feel almost no difference and no learning curve in using this API…
Visualforce Page to Component JavaScript client side communication
On many occasions we might need to access some HTML DOM element inside a component from page using JavaScript. Example scenarios can be page fetching value of text field inside a component using JavaScript…
A Bad Design Story—Apex Dom Document XmlNode
While doing some coding using the new Apex DOM classes, I felt so frustrated regarding the BAD class design, that I decided to write a post covering my experiences.