Activity Forums Salesforce® Discussions What is fieldset in Salesforce?

  • Nikita

    Member
    September 12, 2019 at 6:50 am

    Hi Saddam,

    A fieldset is a grouping of fields. Adding fields, removing and reorder fields can be possible only with FieldSets only. FieldSets are used to display fields in VF pages. These are very useful in managed packages.

    For example, you could have a fieldset that contains fields describing a user's first name, middle name, last name, and business title.

  • Laveena

    Member
    September 12, 2019 at 7:08 am

    Hi Saddam,

    In Salesforce.com, FieldSet is defined as a grouping field. This FieldSet is used in Visualforce pages to display the group of fields in that VF page. Adding fields, removing and reorder fields can be possible only with FieldSets .FieldSets are used to display fields in VF pages.

    Thanks

  • Achintya

    Member
    September 12, 2019 at 8:14 am

    Fieldset in salesforce is grouping the fields of same object type and it is very useful when we’re working with the managed package and reordering the fields in fieldset without touching the code.

    In the managed package you can’t edit either visualforce page or apex class, There comes a requirement change where you want to reorder the fields in visualforce page. For that you can go ahead with Field set concept and you can do reordering the fields in created Fieldset under standard or custom object

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos