Salesforce. AI. Web3
Yet another Apex Trigger Template !
I know Trigger templates are previously discussed also in great detail. We have excellent posts available by Steve Andersen(Gokubi) and Mike Leach on the same. Here is my small journey on Triggers…
Force.com ESAPI v0.5 & death of Apex-CRUD-FLS-Validator API.
“Apex-CRUD-FLS-Validator” was an open source project I started few days back on github. Motive of this project was to add some handy apis that were missing previously in Force.com ESAPI v0.4. Those missing…
Rich Visualforce Editor that finally supports Content Assist !
We all miss content assist support in Force.com IDE Visualforce editor. My previous attempt of using eclipse code templates was a patch to fill this gap. Good news now is, my colleague @AjayHada is creating a Visualforce editor, that will give decent code assistance support on…
Visualforce Code Templates/Snippets for Force.com IDE !
I recently saw a lot of action around Mac’s favorite editor TextMate. Force.com community has done a great job to create a full fledged IDE and various code templates for ease in working…
JSON parsing in Apex, a developer’s nightmare :( Winter’12 release I badly need you !
Today I stumbled upon a requirement to parse JSON in Apex. I was happy about the fact that I know there is a cool open source library calledJSONObject, that will do all the heavy lifting of JSON parsing and another more cooler native JSON parser is lined up in coming winter'12 release…
Apex inheritance – Extending managed package abstract/virtual classes & interfaces !
n my recent project, I came across a requirement to create a base class in a managed package with child extension packages would extend to add their value to it…
Sorting Apex SelectOption Array/List
All Apex developers creating Visualforce pages with drop-downs and checkboxes use the Apex SelectOption class. On most occasions, instances of this class are created out of records in a database that we can query in a desired alphabetical order
Calling Marketo SOAP API from Salesforce APEX Classes !
We know about Marketo and its having a deep Salesforce integration. Recently I came across a new requirement to call Marketo SOAP API from Apex. You must be thinking this process is pretty straightforward…
How do you read cookies set by JavaScript in the Apex/Visualforce controller?
This might be a requirement, if you are developing some complex navigation…
Support of CDATA sections & Apex DOM classes!
I saw this tweet today about the apex-fast-xml-dom library. Unfortunately, it's true that FastXMLDom can’t support CDATA sections as of now. This is because FastXMLDom is a wrapper on top of Spring’10 Apex DOM classes, and DOM classes don’t support CDATA sections.
Is Javascript Remoting == ViewStateLess Visualforce ?
Javascript remoting is one of my favourites from Spring’11 release and I’m constantly thinking of making best use of it in Visualforce. I believe remoting is the way to make Visualforce more "viewstate less", this post shows a POC of a complete functional example of a page that searches and updates accounts using Remoting only i.e no viewstate…
Invoking “Apex WSDL” Web Services from Apex Code
Apex programming WSDL can be downloaded from the “Setup” area of your Salesforce org. Just land on the “App Setup > Develop > API” page. Instructions to download are shown below:
Tolerado for Salesforce WSC release 1.1 out !
A major release 1.1. is done for Tolerado for WSC APIs today…
HTTP Compression with Apache Axis, a huge performance boost!
As mentioned in my previous post, I was researching/benchmarking on how HTTP Compression with Apache Axis improves performance. The results I got post HTTP compression, are surprisingly amazing…
Debugging Sites Authorization Required Error !
Force.com sites redirects to “Authorization Required” page in case something goes wrong behind the scenes, for ex…
Apex Test data isolation from Org/User’s data.. !
The key to write a good apex test case is isolate test-data from actual org/user data. If your test case in anyway depends on org data, then it will fail for sure in deployments across different Salesforce orgs…
Winter’11 Setup/Logout in dropdown, inspired from Facebook ?
Winter’11 gave an interesting new location to popular links like “Setup” and “Logout”. They are no longer one click available, you have to click your login name in new interface header to see these links. In first appearance I thought its fine. But over the time when I was working in my winter’11 pre-release org…