Tk-shotgun-app getting information from Shotgun

Hey Daniel! We looked at the code for this today, and it looks like entity_type and entity_id are indeed all you get – there’s nothing special about what’s passed to apps in the tk-shotgun engine. Can you tell me a little more about the use case you have in mind? I wonder if there’s a feature request in here (probably), or if we can come up with a better way to for you to achieve what you’re after.

You’d of course be able to get from the entity id and type to the note’s linked entity and determine whether it’s a Version or Playlist or whatever else, but it sounds like you’re more interested in the page that the request originated from, and not the linked entity. Can you elaborate a bit on the use case? thanks!

1 Like