Jump to content

Attach file in new note


aline.lima

Recommended Posts

Posted

Hi Aline,

 

You can attach files to notes from the API by doing:

entity = # Get an entity from ftrack. Eg. task, shot, project.note = entity.createNote('note text')note.createAttachment('path/to/file', fileName='attachment.png')

Let me know if that helps.

 

Regards,

Carl

  • 3 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...