This content describes an older version of this product.
View Latest
Work with Records
Use User Interface API to build UI that lets users create, read,
update, and delete Salesforce records. Let’s look at two of the trickier aspects of the API:
how to work with child relationships, and how to upload binary files to
records.
Get Child Records
User Interface API has several resources that include child records in their responses. If a record has many child relationships, a response can be huge and have a negative effect on performance. To get only the records you need, request records for specific child relationships and set the page size of the results.
Upload Binary Files
If a record has a Base64 field, you can upload binary data to the field when you create or update a record.