AeroExcel icon

AeroExcel

Process Excel files using AeroExcel API

Protect File

AI-generated

Summary

Protect an Excel file by applying password protection using a specified password.

Inputs

  • binaryPropertyName (required) — Name of the binary property that contains the Excel file to protect
  • password (required) — Password to protect the Excel file with

Output shape

A single item with the original input structure but containing the protected Excel file in its binary property named 'data', alongside a JSON object with a success flag.

The operation consumes an Excel file provided in the specified binary property and returns the password-protected Excel file as binary data in 'data'. The JSON output includes { success: true }. If the binary property does not exist in the input, the operation fails. Errors can be optionally handled with continueOnFail.

Links

Discussion