FieldSets in Tables
One small tip, but very useful. This is common requirement but I didn't find any post anywhere, so I thought of putting it together. FieldSet is a magical concept which lets the admins take control on visibility of fields on Visualforce. "It doesn't take a developer to add/ remove the fields on visualforce pages" Step 1: Create a fieldset, Select your fields in pagelayout Editor. I grabbed Account name, Site, Description into my set " testfieldset ". Step 2: Create a visualforce page with following code and understand . <apex:page id="pg" standardcontroller="Account" recordSetVar="accts"> <apex:form id="frm1"> <apex:pageBlock mode="maindetail" title="Account List" id="pb1"> <!-- <apex:pageBlockButtons > <apex:commandButton value="Save" action="{!quicksave}"/> </apex:pageBloc...