# Photoshop Multiple Context Publish

**URL:** <https://community.shotgridsoftware.com/t/photoshop-multiple-context-publish/12928>\
**Category:** Pipeline Integrations\
**Created:** [July 14, 2021, 11:45pm UTC](https://community.shotgridsoftware.com/t/photoshop-multiple-context-publish/12928 "2021-07-14T23:45:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrapczak](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/jrapczak/32/3704_2.png) [@jrapczak](https://community.shotgridsoftware.com/u/jrapczak)\
**Post date:** [July 14, 2021, 11:45pm UTC](https://community.shotgridsoftware.com/t/photoshop-multiple-context-publish/12928/1 "2021-07-14T23:45:58Z")

</div>

I’m trying to support publishing for multiple tasks in Photoshop. The problem is that only the current context is getting used for the Link and Task for all items. I have to set the context manually to get the desired result on the right, even though the Collector seems to know the correct context:

 ![CollectorIssue](https://global.discourse-cdn.com/shotgunsoftware/original/2X/9/987d07f0e7312de0b1bfb62815defa1df3bdbf79.png)

Any ideas how I can make sure the Context is set properly for each item / document?

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [July 16, 2021, 5:21pm UTC](https://community.shotgridsoftware.com/t/photoshop-multiple-context-publish/12928/2 "2021-07-16T17:21:13Z")

</div>

Hm I thought this worked. Could be a bug.

---

<div class="post-metadata">

**Author:** ![jrapczak](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/jrapczak/32/3704_2.png) [@jrapczak](https://community.shotgridsoftware.com/u/jrapczak)\
**Post date:** [July 16, 2021, 7:08pm UTC](https://community.shotgridsoftware.com/t/photoshop-multiple-context-publish/12928/3 "2021-07-16T19:08:09Z")

</div>

> Hm I thought this worked. Could be a bug.

I’m not sure, since it is currently disabled in the [head branch of tk-photoshopcc](https://github.com/shotgunsoftware/tk-photoshopcc/blob/master/hooks/tk-multi-publish2/basic/collector.py):

```auto
# FIXME: begin temporary workaround
        # we use different logic here only because we don't have proper support
        # for multi context workflows when templates are in play. So if we have
        # a work template configured, for now we'll only collect the current,
        # active document. Once we have proper multi context support, we can
        # remove this.
        if work_template:

```

I am attempting to get muti-document / multi-context publishing working by overriding this hook and modifying the collector logic.

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [July 19, 2021, 6:47am UTC](https://community.shotgridsoftware.com/t/photoshop-multiple-context-publish/12928/4 "2021-07-19T06:47:18Z")

</div>

Actually I don’t know about photoshop. I meant that it works in other engines.

---

<div class="post-metadata">

**Author:** ![NishithS](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@NishithS](https://community.shotgridsoftware.com/u/NishithS)\
**Post date:** [July 3, 2023, 4:00am UTC](https://community.shotgridsoftware.com/t/photoshop-multiple-context-publish/12928/5 "2023-07-03T04:00:49Z")

</div>

I am working on publishing psd and exr at same time. Which means it falls in multiple context pubish group. Are you able to do multiple publish from photoshop.?
