Hey Josh, I am working on the same thing as you right now, I think that you can create an env called “shotgun_playlist.yml” that it should pick up in tk-shotgun. That’s what the code seems to say but I haven’t much luck with getting it actually working.
Thanks, @Ahuge. I tried that, too, and had a similar lack of results.
@tannaz, I created a local fork of tk-framework-desktopserver and updated the constants.py file as you described. (Then, I added the framework to my config’s local bundle-cache and updated the frameworks.yml, as expected.) However, I didn’t see my new menu actions in the Shotgun UI.
Hi @JoshBurnell the custom framework would need to be updated on the site config, as SG Desktop starts the browser integration outside of a project.
Do you have a site config already which you can add it to?
If not you would add a PipelineConfiguration entity on your shotgun site with no Project set and uses your modified version of the tk-config-basic.
Yikes, this was a nice big gotcha for me recently when we had the need to enable an action on a Delivery entity. I was trying to find any an all docs on this matter but the main place for this info seemed to be lacking this information. This thread was the only hit, that had the bingo moment.
If this is ever seen, I recommend the docs here are extended to include toolkit based action menus / apps / tk-shotgun commands, and this fun little fact is mentioned.
Hi @philip.scadding, I am doing the exact same thing as Josh and I am unable to get the app show up in the context menu for a Playlist entity. I am using the latest version (v1.5.2) for tk-framework-desktopserver and I see that the Playlist has now been added to the constants. Right clicking for the context menu on a Playlist entity on shotgrid does not even trigger anything whereas if I add the app to Version entity, I can see the pick_environment.py being called and I see the Version entity as the context.
I have done all the other updates - created a playlist.yml (we didn’t have this before), added an entry in the tk-shotgun.yml, and created the add.yml with all of the correct details. The app shows up for a Version entity, and if I add it to the Project entity, it shows up in the Project Actions drop-down as well.