---
schema_version: "1"
id: 7ce8e86376e162f0fc2ddf165aff09d8edf1bf47a05b63fbceff672b86255534
title: Work with Records
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_features_records.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_features_records.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 959b88af98b911879efc7cecb5e023de249dcb924fff04925c8c81d628f4ebe6
description: "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."
---
# 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.

![Note](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/images/icon_note.png)

#### Note

User Interface API resources operate on all custom objects and [supported standard objects](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_get_started_supported_objects.htm#ui_api_get_started_supported_objects "User Interface API supports all custom objects and external objects and many standard objects.").

- **[Get Child Records](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_features_records_child_relationships.htm)**  
    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.
- **[Build UI for Picklists](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_features_records_dependent_picklist.htm)**  
    User Interface API exposes properties and resources that make it easy for a client to build picklists and dependent picklists.
- **[Upload Binary Files](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_features_records_binary_upload.htm)**  
    If a record has a Base64 field, you can upload binary data to the field when you create or update a record.
- **[Prevent Record Duplication with Idempotent Record Writes](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_features_records_idempotent.htm)**  
    Use idempotent record writes to avoid duplication of records and server operations, which can occur when an app or client encounters a network connection issue.
- **[Upload Files](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_features_records_content_document.htm)**  
    Upload documents and images or update the file with a new version.