added
New in App Canvas: File upload blocks and required fields
5 days ago by Pilar Sterne
The following new features are now generally available in App Canvas:
fileUploadUiBlock
A new fileUploadUiBlock
is now available in the v2 REST API and the Benchling SDK (version 1.22.0 and higher).
This new UI block lets users upload files (up to 10 per block) of the file format(s) specified. A Benchling App can then retrieve the uploaded files via the /blobs
endpoint.

The new block is documented in our API Reference under Apps > App Canvas:

Required fields
Apps can now mark any input fields in an App Canvas as required before the Canvas can be submitted.
A required
option is available for:
- DropdownUiBlock
- DropdownMultiValueUiBlock
- SearchInputUiBlock
- SearchInputMultiValueUiBlock
- SelectorInputUiBlock
- SelectorInputMultiValueUiBlock
- FileUploadUiBlock
- TextInputUiBlock
Placeholder values
The following input blocks in App Canvas can now contain placeholders to give end-users more guidance about the expected input value:
- DropdownUiBlock
- DropdownMultiValueUiBlock
- SearchInputUiBlock
- SearchInputMultiValueUiBlock
- SelectorInputUiBlock
- SelectorInputMultiValueUiBlock
Learn more about App Canvas here.