CLOUDWORKS IS NOW PART OF THE EPAM FAMILY

Call Us Today !

What are Field Sets in Salesforce

Replacing edit pages are possible in Salesforce. However, users are required to create codes in Visualforce to do that. Is there any other way to replace edit pages without involving complicated codes? Fortunately, Field Sets are here to help users out.

Salesforce Field Sets Defined

Field sets are defined as a collective grouping of Salesforce fields. Field sets can be added to Visualforce pages to facilitate looping over these fields and rendering them. Admins can also manage and modify the fields inside a field set, and whatever changes to these fields are reflected on the Visualforce page. These changes can be done without using codes on the Visualforce page, thanks to field sets.

Pre-installed field sets are available in the Salesforce platform. Admins may choose to edit these installed field sets. They can also create and manage their own separate field sets, depending on their needs.

Where can Field Sets be Used?

Managed packages especially benefit from the use of field sets. As previously explained, adding field sets to managed packages enables Salesforce org admins to manage fields without using Visualforce code.

Modifying fields through coding in Visualforce is standard practice before field sets came into the picture. But now, this tedious process becomes a lot simpler through utilizing field sets to replace and manage edit pages.

Creating and Managing Field Sets

Salesforce utilizes a drag-and-drop interface for creating new field sets. Start by going to the object’s management settings. Select Field Sets, then click on New. Enter a label and a Visualforce name for the new field set. Come up with a short description of the Visualforce pages that use this new field set, and enter it in the Where is this used? field. Then, save everything.

The admin may now drag and drop selected fields to the new field set. Drop the fields under the In The Field Set or on the Available for Field Set container. Remember to save changes after completing everything.

Share this article!

Partager sur facebook
Partager sur twitter
Partager sur linkedin
Partager sur email