Visualforce Page with Pagination

Salesforce.com introduced the StandardSetController in Winter '09 and I'm finally getting a chance to put it into use. The new pagination feature is pretty powerful and easy to use with standard as well as custom objects. Even though Jon Mountjoy has a good blog post here,┬áthere appears to…

Read more

I Passed the Salesforce.com Certified Advanced Developer Exam - So Can You!

I passed the Salesforce.com Certified Advanced Developer exam yesterday but it was not easy test. The questions were very tricky and some of the answers I knew only because of experience. You can read all of the suggested course material and take the DEV-501 class, but I think people…

Read more

Overriding Standard Links with Visualforce Pages

One of my most visited blog entries is Redirecting Users To Different Visualforce Pages which shows how you can override the standard Salesforce.com page layouts with your custom Visualforce pages. Based upon a number of emails, it appears that I've omitted the process of overriding the standard links with…

Read more

Stylesheet Bug with Visualforce

I was finishing up our Sites pilot project the other day and was having an issue with the color for the apex:page component not displaying correctly. The following code worked correctly and my page displayed with the correct colors and tab. <apex:page controller="MyController" showHeader="true" tabStyle=…

Read more

Using Related Lists in Visualforce Pages

Let's face it, coding Visualforce pages is sometimes too easy. The tag-based syntax allows you to design effective UIs with very little effort. One of the more powerful components is the relatedList which lets you display a list of related records based upon a lookup or master-detail relationship. One of…

Read more

Use an Inline Visualforce Page with Standard Page Layouts

Let's face it, using standard page layouts is easy. Throw some field on the page, arrange some related lists and then essentially forget about the page. However, if you really need to customize the user experience you are almost always forced to write a custom Visualforce page that may require…

Read more

Accessing Session Id and API Server URL parameters with Visualforce

There is a very interesting post over at the Salesforce.com blog with sample code for integrating Salesforce.com's session ID and server URL with composite applications. I never thought about this approach before but it may sure come in handy in the future.…

Read more

Apex Search with Checkbox Results

This demo is a single Apex custom controller, two Visualforce pages and a wrapper class allowing the user to search an object by keyword (via Dynamic SOQL) and return the results in a page block table with corresponding checkboxes. Selecting one or more checkboxes and clicking the 'See Results' button…

Read more

Use Visualforce and Apex to Populate PDF Forms

Somehow I missed this post on generating PDFs, but in addition creating PDFs from scratch using Apex, you can also populate third-party forms (IRS forms for instance) using Adobe's XFDF format. We are currently using Telerik's .NET Reporting services (C#/ASP.NET) but this may be another route to investigate…

Read more

Visualforce Export to Excel / IE Bug

There is a very nice article on how to export data to Excel using Visualforce. The only problem is that there is a known issue when using Internet Explorer that prevents it from working correctly. Here is the workaround and I have asked our support rep to check on the…

Read more