Search the Community

Showing results for tags 'note'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Company news
    • General announcements
  • ftrack Studio (main app)
    • General discussion
    • Feature requests
    • API
    • Help
    • Actions and Widgets
    • ftrack Go
  • Connect and plugins
    • General discussion
    • Connect package releases
    • Feature requests
    • Help
    • Connect plugins releases
  • Reviews
    • General discussion
    • Feature requests
    • Help
  • Advisory Forum
  • Tech preview
    • API
    • New integrations
    • Studio overview
    • ftrack Review

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 7 results

  1. vitek

    can't add the note

    Hi there! I'm trying to add the note with API, but can't quite nail it - I'm basically taking code from the documentation and just replacing queries with my own .... , any ideas what I am doing wrong, please? Any advice appreciated! Cheers! Here is the code: category = session.query( 'NoteCategory where name is "External Note"' ).first() note = session.create('Note', { 'content': 'New note with external category', 'author': session.query('User where username is "vit.sedlacek@dazzlepictures.net"').one(), 'category': session.query('NoteCategory where name is "Internal"').one() }) task['notes'].append(note) session.commit() And the error # Result: ERROR 18:16:46.713:ftrack_api.session.Session(7088): Server reported error: ValueError(Cannot set relationship to string value.) Traceback (most recent call last): File "<string>", line 12, in <module> File "C:/Python27/Lib/site-packages\ftrack_api\session.py", line 1238, in commit result = self._call(batch) File "C:/Python27/Lib/site-packages\ftrack_api\session.py", line 1616, in _call raise ftrack_api.exception.ServerError(error_message) ftrack_api.exception.ServerError: Server reported error: ValueError(Cannot set relationship to string value.) based on code from API documentation here (http://ftrack-python-api.rtd.ftrack.com/en/stable/example/note.html?highlight=create_note): category = session.query( 'NoteCategory where name is "External Note"' ).first() note = session.create('Note', { 'content': 'New note with external category', 'author': user, 'category': category }) task['notes'].append(note)
  2. Hey ftrackers, we recently tried to add notes to a task in a sorted order. We read a number of question from a json which looks like this: [ { "index": 1, "content": "Q1" }, { "index": 2, "content": "Q2" }, { "index": 3, "content": "Q3" }, { "index": 4, "content": "Q4" } ] ..and we would like these questions, to appear in the order given by index. But for some reason, we always get the order visible in attachment: ftrack_question_ordering.PNG Could this be the same problem we have with custom attributes being not sorted? Thanks in advance Tim EDIT: The note, which was altered latest is shown upmost automatically, which implies, that we cannot change the order, right?
  3. Hello, I am quite new to the API, which is why I decided to ask for help on the forum. (Sorry, if it is a stupid question...) Is there a way to access the <ftrack_api.collection.Collection object at ...> in order to retrieve something like a pair of component_id and note_id? So I could check whether the attachment is present on a note or not? I am trying to access the object via querying a note with certain content. Here is a short example: some_note = s.query('Note where content is "let there be something written in here"').one() some_note['note_components'] - results in me getting an object. Is there a way to get more out of it? I am sure there is, but I have no idea. Thank you in advance! Best Regards, Anton.
  4. Hi, Not sure if this has already been requested, It would be great to be able to retrospectively add users to a note posted on a Task/Shot (Edit Note) we keep finding that we have to reply to an existing note typing ' Adding more users' as a workaround. Many thanks! George
  5. Hi, our users would like to be able to easily hide or grey notes that aren't relevant anymore. I know we can delete notes, but this is not very handy, as it doesn't allow us to keep track of the content of those notes. The typical use case would be something like this : An artist finishes a task, set its status to Pending Review. A producer review the task and decides that the results is too dark. He adds a note saying "It must be clearer". and set the task status to a Retake. The artist set the task status to In Progress, makes it clearer, grays or hides the corresponding note, and set the task status to Pending Review. Would this make sense to you?
  6. Hi, What is the best relationship we can use to extract notes from a task in a query? for example: something like, note = session.get('Note where content is "xyz" and parent.name is "something"'.one()) P.S.: I don't want to use 'ID' for extracting particular note. Thanks in advance,
  7. Hi I would like to write an standalone tool in order to add notes in ftrack for assetVersions. In the note , we would like to have a hyperlink to a local path. Is it possible? Thanks, Laura