Jump to content

Remus Avram

  • Content Count

  • Joined

  • Days Won


Everything posted by Remus Avram

  1. Hi all, is it possible to send custom notifications via ftrack_api? We are automating a lot with actions. But this creates also a lot of confusion. We need to communicate better to the users. We are using the pop up messages, but these are displayed only for 5 seconds. Sometimes the user is missing them, sometimes the message is going away before he/she finishes reading it. Sending notifications to the user will help a lot in understanding what is happening.
  2. It would be nice to be able to search for the user by username, first name and last name.
  3. Hi all, how can I assign a user to a project via ftrack_api? I tried with: session.create("Appointment", {"context": project, "resource": user, "type": "assignment" }) session.commit() but I get the following error: Server reported error: ValidationError(Appointment of type "assignment" cannot be created for "user" and "show") But if I get an existing appointment of a project and inspect the data: (Pdb) for k in allocation.keys():pri
  4. Thanks @Mattias Lagergren for your toughts. If there will be an event when a Manager type is added to a user, then we can match the Managers types with the user roles and add the role ones a manager type is added to the user. The issue with the event is described here:
  5. Thanks @Mattias Lagergren for the update. What do you think it would be a quick workaround at the moment?
  6. Hi all, we would like to give production the ability to manage the roles of the user without accessing the Ftrack System settings. From our perspective, one way to do it is to add in the right-click menu a sub-menu "Roles" like the "Managers" one. Or adding the roles to the user from the user Profile. Or to emit an event when a manager type is added to a user. In this way we can match the "Managers" types with the "Roles" types and do it through an action. ( @Luigi already started a discussion abut this here Thanks for your support!
  7. I see. We are doing like this to get the structure: while entity['parent'].entity_type != "Project": entities.append(entity['name']) entity = entity['parent']
  8. Hi @Erik, if I may ask, for what do you use the link attribute? In most of the cases we are getting the project from a task like this: task["project"]["attribute"] Does this work for you?
  9. @Mattias Lagergren can you please write a scenario how it should be set with custom attributes and actions?
  10. Thanks for the idea. This will do the trick for us.
  11. Nobody should be allowed to change the timelogs a week after, but in an exception case, the production would like to allow the specific user to do it. Or Production should be allowed to change their timelogs.
  12. Hi all, is it possible to filter in the Versions Spreadsheet by the component name? I tired with the advanced filter but I was not able to find the right query as the name of the component is not a direct attribute but a key-value in data.
  13. Thanks @Mattias Lagergren for the feedback. We will try to do it like this. But the problem here is that if the production would like to allow only one artist to update his/her time logged, it's not possible.
  14. Thanks @Mattias Lagergren for the feedback. We will try with text type instead of number.
  15. Hi all, production would like to manage the resources in Ftrack. would it be possible: to have more then 2 decimals (e.g. for excange rates EUR-USD 1,196095) to have a dot as punctuation for costs (e.g. 1.000.000,00) and at the same time having long numbers without punctuation (e.g. frame in 1001) Cheers!
  16. Hi all, is it possible to restrict the user to add/update the time logger X days before? A user should be able to add/update the time logger only in the current and last week. Cheers.
  17. And even more. When the real user is added to Ftrack, we need a way to replace the "fake" user with the real user. In this way the real user is already assigned to tasks.
  18. Hi Den, welcome to the forum! Do you want to export from the Ftrack Web interface, or using the ftrack api? I hope this helps: http://ftrack.rtd.ftrack.com/en/stable/using/importing_and_exporting.html
  19. This issue is fixed. Tested with: ftrack server: 3.5.6 ftrack_api: 1.3.1
  20. Let's start with tracking all the changes first. Production get confused when a custom attribute has been changed and it's not tracked in the Activities tab.
  21. Hi Ftrack, we would like to track every change to the ftrack entity in the Activities. It is vital for the production to know who changed what and when. Best, Remus
  22. Remus Avram


    If you are using session.get() yes, but if you are using session.query() it will query the DB again. I think the cache makes sens in some cases, for example if only one generic user is allowed to change some data. But in most of the cases you want to query the DB again before changing it to be sure that nobody already updated it. I think the open/close session is not the main problem of having a session per call. Having a session per call it will slow down the process.
  23. Remus Avram


    Hi @pawel we are using one session as a global session. why do you want to invalidate the cache? Normally you don't need to do it. If the session is running for a long time, when you want commit a change, first you query the ftrack entity again and then you commit, just to be sure that the entity didn't change in the meantime.
  • Create New...