Luigi Posted October 10, 2017 Report Share Posted October 10, 2017 Hi, I created a custom attribute for users called "location". I would like to be able to filter in the ftrack UI query all the assigned users located e.g. in Berlin. How can I do this? Best, Luigi Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted October 11, 2017 Report Share Posted October 11, 2017 Hi Luigi, Where in the ftrack UI do you want to filter on this? Have you considered using groups for arranging users? Link to comment Share on other sites More sharing options...
Luigi Posted October 11, 2017 Author Report Share Posted October 11, 2017 I would like to filter this in the task and version view The goal is to check the tasks assigned to artists in a specific location, to be able to assign similar tasks as well to that artists and to prepare review sessions location based. Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted October 12, 2017 Report Share Posted October 12, 2017 So using the Query filter you should be able to get Group membership using the following: assignments.resource[User].memberships.group.name is "Berlin" Link to comment Share on other sites More sharing options...
Luigi Posted October 13, 2017 Author Report Share Posted October 13, 2017 Thanks, This is working fine if I would have a user group "Berlin". My issue with this method is, that this way I would need to add my users to the Location Group AND to the Department Group. Since ftrack has the possibility to add custom attribute directly to the user, it would be very useful to be able to filter this too through the task query Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted October 16, 2017 Report Share Posted October 16, 2017 Hi Luigi, Quote This is working fine if I would have a user group "Berlin". My issue with this method is, that this way I would need to add my users to the Location Group AND to the Department Group. This is the idea of the groups, to allow both location based and department based. And also allowing users to be in multiple ones. Anyways, if you prefer having a custom attribute instead you should be able to do: assignments.resource[User].custom_attributes any (key is "location" and value is "Berlin") Link to comment Share on other sites More sharing options...
Luigi Posted October 17, 2017 Author Report Share Posted October 17, 2017 Thank you very much. Was exactly what I was looking for Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.