Posts

Showing posts with the label Field Sets

Working with Field Sets

Image
A field set is a grouping of fields. For example, you could have a field set that contains fields describing a user's first name, middle name, last name, and business title. Field sets are available for Visualforce pages on API version 21.0 or above. You can have up to 50 field sets referenced on a single page. An sObject can have up to 2,000 field sets. Each field set can have up to 25 fields through lookup relationships. Fields can only span one level away from the entity. Setup Instructions Select the Account object. In the Account object detail page, go to Fields & Relationships. Click "Field Sets" and then "New". Name your field set (e.g., "Account_Details") and add the fields you want to include in the field set. Save the field set. Visualfore Page Example <apex:page standardController="Account">     <apex:form>         <apex:pageBlock title="Account Information">             <apex:pageBlockSecti...