HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation attaches files to a specific calendar entry in the HumHub platform. It is useful for scenarios where users want to upload and associate multiple files with a calendar event, such as attaching meeting agendas, presentations, or related documents to an event entry.

Use Case Examples

  1. Attach multiple files from binary data properties to a calendar entry by specifying the calendar entry ID and the binary property names containing the files.
  2. Use Basic Auth or JWT Token for authentication to securely upload files to the calendar entry.

Properties

Name Meaning
Authentication Method of authentication to use for the API request (Basic Auth or JWT Token).
ID The ID of the calendar entry to which files will be attached.
Files Collection of files to attach, each specified by the binary property name containing the file data.

Output

JSON

  • id - The ID of the calendar entry to which files were attached.
  • files - Details of the files that were attached to the calendar entry.

Dependencies

  • HumHub API

Troubleshooting

  • Error 'No binary data exists on item!' occurs if the input item does not contain any binary data. Ensure the input item has binary data before attaching files.
    Error 'Binary data property "" does not exist!' occurs if the specified binary property name does not exist in the input item. Verify the binary property names are correct and exist in the input data.

Links

Discussion