Skip to main content

Generic Method

The following code will create metadata on a Box folder in Salesforce using the generic Toolkit method:
Apex

New Folder Association

The following code will create a folder for a specific Salesforce record Id:
Apex

Folder Templates

The following code will create a folder for a record, create subfolders (folder template), and collaborate the current user:
Apex

Metadata

The following code will get, add, delete, and update Box folder metadata and cascade policies.
Apex
More examples:
Apex
Apex
Apex

Create a sign request

The following code creates a Box Sign request in Salesforce.
Apex

Get Box Hubs

The following code retrieves Box Hubs.
Apex
Last modified on March 19, 2026