function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Be sure to check out Field Sets new in Spring '11!

Imagine enabling the power of the Page Layout Editor for your own custom-coded Visualforce pages.


Field Sets combined with the new Dynamic Binding in Visualforce allow you, the developer, to create Visualforce pages such that the fields that are displayed (and the order in which they are displayed!) are modifiable by non-technical adminsitrators via out-of-the-box point-and-click tools.


Field Sets are currently in open Beta -- which means that everyone can use them today!  You will find them on standard objects as well as custom objects!


A Field Set is a collection of fields that can be iterated over in an <apex:repeat> tag.  As a developer, you will have control over which fields are initially present in the Field Set as well as which fields the administrators can put in the Field Set after installing the package. 


Here is a link to a blog post with some sample code for using a field set:


Field Sets in the Metadata API:


Field Sets in the Spring '11 release preview webinar:


About Field Sets (Need to be logged in):

Creating and Editing Field Sets (Need to be logged in):

If you have any questions about use cases, code, or anything else.  Please feel free to post here and I'd be happy to help!



Sushant RaoSushant Rao

Can I use fieldsets to display fields for edit and update records as well ?