Managing a list of records

Salesforce users often require the capability to work with a number of records at once. For example, a sales user may be communicating with a number of contacts, while they may also be creating or deleting contacts in response to information received through a number of channels. The Salesforce enhanced list view functionality allows a set of records that share a common record type to be inline edited but doesn't provide a way to add or remove records.

In this recipe, we will create a Visualforce page to allow a user to edit the details of a collection of existing contact records, and create or delete records dynamically. Upon saving the list, existing records will be updated, any new records will be inserted, and any ...

Get Visualforce Development Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.