I’m looking for a way to show the sequence field in the My Task field of the File Open dialog.
It shows only the shot name and a task type, I would love to have the Sequence name with it as well. I’ve found in the documentation that I should be able to set in: settings.tk-multi-workfiles2.maya.shot_step:
the field my_tasks_extra_display_fields
so I tried to add ['sg_sequence'] and a whole lot more, but it’s not doing anything. I’d love to get a pointer on how to show more information in the My Tasks view.
my_tasks_extra_display_fields expects a list of fields on the Task entity.
The sg_sequence field isn’t a default Task field, so I just wanted to check; have you created a custom sg_sequence field on the Task in Shotgun?
If your tasks are linked to a Shot and then linked to a Sequence then you could do the following: my_tasks_extra_display_fields: ['entity.Shot.sg_sequence.Sequence.code']
Ah, yes, I knew I forgot something!
You need to make sure you add that to all work files settings not just the shot_step, if you want to be able to see that information no matter which context you are currently in. For example when you launch from a project context, you will be using either the settings.tk-multi-workfiles2 or the settings.tk-multi-workfiles2.launch_at_startup depending on the software.
I just took a look at the code, but there doesn’t appear to be a way to change the formatting of that information.
I’ll post a suggestion to the roadmap on your behalf.
Actually sorry I’m clearly still not thinking of everything.
You could use 'entity.Shot.sg_sequence.Sequence.code' if you just wanted the name to show. (I’ll update my previous message)