Attach file in new note
2 2

7 posts in this topic

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
2 2