Running server within UXP

What are the plans for being able to run the server within UXP? Is that in any roadmap?

5 Likes

Do you mean UXP as a WebSocket server?

I mean both. I want websocket server and also the possibility to serve files from localhost.

Having a WebView host local HTML/JS files would be very, very nice indeed…

2 Likes

Exactly… now I have to run external process and I can’t even pass parameters to it (so far). I think with server in UXP I could eliminate one more scripting context making it simpler.

1 Like

I have been hoping for this as well.

Webview hosting local HTML should be available with v8.0.

5 Likes

That sounds like moving in right direction. One of my clients has a plugin to show instructions for designers and sometimes it comes as a PDF or HTML file with pictures… so it could address at least this need.

Will be there some option to inject custom JS from UXP into webview? I used inject JS to open image in PS when you click image in an instruction HTML file.

what great news, @indranil , when will it be available? Because if I’m not mistaken, we are currently at version 7.3. Also, is it possible to see a roadmap somewhere?

This should be availabe with UXP v8.0 so you should see this in Photoshop probably around April…though don’t quote me on that :sweat_smile: !

3 Likes

Just checking…Any update on this? Is there somewhere we can see the latest beta changelog? The latest I can find is Photoshop Beta 25.5 (February 2024) but we seem to be on 25.11 now.

UXP v8.0 is not yet integrated in Photoshop and should hopefully be available in the August release.

1 Like

Before it gets into host apps… could you please update changelog? https://developer.adobe.com/photoshop/uxp/2022/uxp-api/changelog3P/

So I could add new CSS properties and update manifest validation? …or fell free to make PR vscode-uxp-validator/CONTRIBUTING.md at main · jardicc/vscode-uxp-validator · GitHub

1 Like

According to this, it is in 25.11

Yes, that was supposed to be the release where it integrated UXP v8.0, but it was rolled back due to an internal issue in Photoshop.

Is there someplace we can go to stay up to date on this info???
That video was just published to the adobe dev youtube page 22 hours ago. How are we to know we can’t trust that info?

That video is of an event that was done on the 20th of June and things were slated for July release but that didn’t happen. We can’t really go and edit that video now. As for where to stay updated, changelog e.g. the one here for 7.4 is the place to refer to. Also, you can always check the integrated version in any Photoshop by looking at the System Info.

We usually avoid doing that because having documentation for something that’s not available is moot IMHO and leads to confusion because developers might expect it to be available in some Photoshop version. As for your case, the UXP team shall raise a PR to update the newly added CSS properties/functions.

Please add CSS transitions.
Also it is currently not possible to create a triangle using css

If that creates confusion then it lacks info. E.g. you (or another Adobe team) could/should edit UXP changelog once it gets into host app and mention it there so we would know.

And also link and update this and make sure devs can find it: https://developer.adobe.com/photoshop/uxp/2022/uxp-api/versions/

1 Like