Can a binary file can be attached to an operation

Hello,
We are trying to download the database file from the device, to do so we are creating an operation in the Device management, is there a way we can add the attachment to the operation? we are trying to implement a similar feature like request log files.
Thanks,
Divya K

Hi,

files cannot be attached to Operations - but they can to Events. Thus, I would replicate the steps that are done for logfile-retrieval:

  1. Create an Event
  2. Attach a File to the Event
  3. Add the file link to your operation.

Details on how it’s done for Logs you can find here: Fragment library - Cumulocity IoT documentation

3 Likes

@Korbinian_Butz Thanks, it works.