aline.lima Posted July 29, 2014 Report Posted July 29, 2014 Hello, There's a way that I can create a new note with a attached file (image or video) using API? Thank you,Aline Lima
Carl Claesson Posted July 30, 2014 Report Posted July 30, 2014 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
aline.lima Posted July 30, 2014 Author Report Posted July 30, 2014 Yes, that is it! Thank you,Aline Lima
vitek Posted July 4, 2018 Report Posted July 4, 2018 Hi there! How can I achieve the same thing with the new API, please? Thanks in advance! Vit
Mattias Lagergren Posted July 6, 2018 Report Posted July 6, 2018 There is an article here on how to attach file to a note in the ftrack-python-api: http://ftrack-python-api.rtd.ftrack.com/en/stable/example/note.html#attachments
vitek Posted July 13, 2018 Report Posted July 13, 2018 On 7/6/2018 at 10:26 AM, Mattias Lagergren said: There is an article here on how to attach file to a note in the ftrack-python-api: http://ftrack-python-api.rtd.ftrack.com/en/stable/example/note.html#attachments Thank you, it worked!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.