Create small binary file
The createSmallBinaryFile tool allows users to seamlessly create binary files up to 5MB in size by uploading base64-encoded content directly to Microsoft 365 SharePoint Document Libraries. It supports placing files into specific folders or the root directory, enhancing document management within SharePoint environments.
Features
- Supports creation of binary files up to 5MB using base64 encoding.
- Integrates directly with Microsoft 365 SharePoint Document Libraries (Drives).
- Allows file creation in specified folders or defaults to the root folder if no folder is specified.
- Accepts custom filenames including file extensions for precise file identification.
- Streamlines document uploads by automating file generation from base64-encoded content.
Benefits
- Enhances efficiency by automating file uploads to SharePoint, saving manual effort.
- Supports organized file storage by enabling target folder selection within Document Libraries.
- Ensures compatibility with varied file types through flexible filename and extension input.
- Facilitates secure and reliable file creation in trusted Microsoft 365 environments.
- Ideal for workflows requiring quick upload and generation of binary files without manual intervention.
Description
Create a binary file of size less than 5MB by base64 encoding its content to a specific Document Library (or Drive).You can create it in a specific folder on the DocumentLibrary.If no folder is specified, the file will be created in the root folder of the Document Library.
Parameters
4 parameters
| Name | Type | Description |
|---|---|---|
| filenamerequired | string | Name of the file to create including the file extension. |
| base64Contentrequired | string | The binary file content encoded as a base64 string. |
| documentLibraryIdrequired | string | Id of the Document Library (also called as a Drive) where you want to create the file. |
| parentfolderId | string | The ID of the parent folder where the file will be created.Defaults to the root folder of the Document Library if not specified. |