# UXP Plugin API

**URL:** https://forums.creativeclouddeveloper.com/c/adobe-xd/xd/8.md

[Latest](https://forums.creativeclouddeveloper.com/latest.md) · [Categories](https://forums.creativeclouddeveloper.com/categories.md) · [Tags](https://forums.creativeclouddeveloper.com/tags.md)

---

## [Getting Started](https://forums.creativeclouddeveloper.com/t/getting-started/61)

<div class="topic-metadata">

**Author:** [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Replies:** 0\
**Last updated:** [September 22, 2018, 4:39pm UTC](https://forums.creativeclouddeveloper.com/t/getting-started/61 "2018-09-22T16:39:32Z")

</div>

Welcome to the Adobe XD Platform Forums!. Here’s some quick steps to help you get started: Introduce yourself Update your Account settings, profile, and notifications Click the Avatar in the top right corner Click the…

---

## [React Known Issues and Workarounds](https://forums.creativeclouddeveloper.com/t/react-known-issues-and-workarounds/32)

<div class="topic-metadata">

**Author:** [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Replies:** 5\
**Last updated:** [November 17, 2018, 1:59pm UTC](https://forums.creativeclouddeveloper.com/t/react-known-issues-and-workarounds/32 "2018-11-17T13:59:58Z")

</div>

XD’s support for React is pretty amazing, but there are some limitations, issues, and gotchas of which you need to be aware. This thread will summarize issues with React that are known, and what kind of workarounds (if a…

---

## [About the UXP Plugin API category](https://forums.creativeclouddeveloper.com/t/about-the-uxp-plugin-api-category/24)

<div class="topic-metadata">

**Author:** [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Replies:** 0

</div>

This forum is for topics specific to XD, including plugin development, API feature requests, and bug reports.

---

## [UXP API parity for MOGRT parameter control + current ExtendScript support status](https://forums.creativeclouddeveloper.com/t/uxp-api-parity-for-mogrt-parameter-control-current-extendscript-support-status/12131)

<div class="topic-metadata">

**Author:** [@Kuenfred](https://forums.creativeclouddeveloper.com/u/Kuenfred)\
**Replies:** 2\
**Last updated:** [September 22, 2026, 6:41am UTC](https://forums.creativeclouddeveloper.com/t/uxp-api-parity-for-mogrt-parameter-control-current-extendscript-support-status/12131 "2026-09-22T06:41:39Z")

</div>

Hello, I am currently migrating a fairly large Premiere Pro automation workflow from ExtendScript to UXP. Most of the workflow is now handled by UXP plugins, but there is still one important operation for which I need …

---

## [API to list which fonts are available / detect if text has missing font](https://forums.creativeclouddeveloper.com/t/api-to-list-which-fonts-are-available-detect-if-text-has-missing-font/629)

<div class="topic-metadata">

**Author:** [@PaoloBiagini](https://forums.creativeclouddeveloper.com/u/PaoloBiagini)\
**Replies:** 7\
**Last updated:** [October 18, 2025, 12:06am UTC](https://forums.creativeclouddeveloper.com/t/api-to-list-which-fonts-are-available-detect-if-text-has-missing-font/629 "2025-10-18T00:06:57Z")

</div>

Fonts are notoriously tricky. Being able to add character styles in the assets is very cool but… I’ve deliberately added a missing font and this is what I got in the assets panel: The new style has been correctly ad…

---

## [Web workers for UXP](https://forums.creativeclouddeveloper.com/t/web-workers-for-uxp/408)

<div class="topic-metadata">

**Author:** [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)\
**Replies:** 6\
**Last updated:** [June 18, 2025, 10:44am UTC](https://forums.creativeclouddeveloper.com/t/web-workers-for-uxp/408 "2025-06-18T10:44:11Z")

</div>

I know this is a longer-term item, but it would be great to have web workers in the UXP environment eventually, for computation-intensive plugins.

---

## [Saving a document to a PNG with sRGB conversion](https://forums.creativeclouddeveloper.com/t/saving-a-document-to-a-png-with-srgb-conversion/10781)

<div class="topic-metadata">

**Author:** [@apogza](https://forums.creativeclouddeveloper.com/u/apogza)\
**Replies:** 0\
**Last updated:** [April 29, 2025, 10:22am UTC](https://forums.creativeclouddeveloper.com/t/saving-a-document-to-a-png-with-srgb-conversion/10781 "2025-04-29T10:22:24Z")

</div>

When exporting a document to PNG via the Export menu, we have the option to convert the image to sRGB and embed it color profile: Saving a document to a PNG through the UXP API does not seem to offer such an option i…

---

## [Check if a file or folder exists](https://forums.creativeclouddeveloper.com/t/check-if-a-file-or-folder-exists/1744)

<div class="topic-metadata">

**Author:** [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Replies:** 7\
**Last updated:** [January 28, 2025, 12:06pm UTC](https://forums.creativeclouddeveloper.com/t/check-if-a-file-or-folder-exists/1744 "2025-01-28T12:06:16Z")

</div>

Is there an API to check if a file or folder exists? I don’t see anything in the API. // from the documentation it looks like I have call file.getEntry() and test for an error event or find a matching name Test for err…

---

## [Unable to zip back into a valid XD file after unzipping](https://forums.creativeclouddeveloper.com/t/unable-to-zip-back-into-a-valid-xd-file-after-unzipping/1694)

<div class="topic-metadata">

**Author:** [@kaapa](https://forums.creativeclouddeveloper.com/u/kaapa)\
**Replies:** 15\
**Last updated:** [January 24, 2025, 11:24pm UTC](https://forums.creativeclouddeveloper.com/t/unable-to-zip-back-into-a-valid-xd-file-after-unzipping/1694 "2025-01-24T23:24:04Z")

</div>

Hello everyone. Disclaimer: I’m aware that I’m trying to do something really odd… but… hey. I want to get a command line script to do some color switching on .xd files (convert from 2 themes), since XD doesn’t allow for…

---

## [UXP InDesign Plugin require('uxp').userInfo.userId() returns empty string](https://forums.creativeclouddeveloper.com/t/uxp-indesign-plugin-require-uxp-userinfo-userid-returns-empty-string/7838)

<div class="topic-metadata">

**Author:** [@Kamila](https://forums.creativeclouddeveloper.com/u/Kamila)\
**Replies:** 1\
**Last updated:** [January 15, 2025, 12:45pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-indesign-plugin-require-uxp-userinfo-userid-returns-empty-string/7838 "2025-01-15T12:45:31Z")

</div>

I’m writing InDesign plugin using UXP. I need to get the GUID of plugin user. The code: As stated in docs, added to manifest.json "requiredPermissions": { "enableUserInfo": true } and getting userId in main.js con…

---

## [XD 26 release - debugging & drag/drop APIs](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572)

<div class="topic-metadata">

**Author:** [@peterflynn](https://forums.creativeclouddeveloper.com/u/peterflynn)\
**Replies:** 4\
**Last updated:** [January 29, 2020, 8:43pm UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572 "2020-01-29T20:43:09Z")

</div>

XD 26 is here with some exciting new features for plugin developers! Drag & drop support Enable users to drag image/text content from your plugin panel UI into the XD document. Enable arbitrary drag/drop gestures th…

---

## [Live preview in XD app is so fast, how does it work out?](https://forums.creativeclouddeveloper.com/t/live-preview-in-xd-app-is-so-fast-how-does-it-work-out/1874)

<div class="topic-metadata">

**Author:** [@xiaoqiang](https://forums.creativeclouddeveloper.com/u/xiaoqiang)\
**Replies:** 3\
**Last updated:** [July 3, 2020, 1:01am UTC](https://forums.creativeclouddeveloper.com/t/live-preview-in-xd-app-is-so-fast-how-does-it-work-out/1874 "2020-07-03T01:01:44Z")

</div>

I tried the Live Preview with XD app, and was shocked by the speed of image synchronization It shows nearly no delay between the phone and the laptop, just like a mirror… As what I know about live preview function is m…

---

## [UXP InDesign2025, onkeydown, up, etc. events are no longer being sent](https://forums.creativeclouddeveloper.com/t/uxp-indesign2025-onkeydown-up-etc-events-are-no-longer-being-sent/8539)

<div class="topic-metadata">

**Author:** [@Gustav](https://forums.creativeclouddeveloper.com/u/Gustav)\
**Replies:** 3\
**Last updated:** [October 22, 2024, 9:40am UTC](https://forums.creativeclouddeveloper.com/t/uxp-indesign2025-onkeydown-up-etc-events-are-no-longer-being-sent/8539 "2024-10-22T09:40:08Z")

</div>

As the title explains. I cannot receive keypress events on any element, including document, using addeventlistener. Anyone know anything about this?

---

## [Concerns about migration of CEP extension to UXP](https://forums.creativeclouddeveloper.com/t/concerns-about-migration-of-cep-extension-to-uxp/1049)

<div class="topic-metadata">

**Author:** [@JohnMore](https://forums.creativeclouddeveloper.com/u/JohnMore)\
**Replies:** 27\
**Last updated:** [September 11, 2024, 1:24am UTC](https://forums.creativeclouddeveloper.com/t/concerns-about-migration-of-cep-extension-to-uxp/1049 "2024-09-11T01:24:39Z")

</div>

I’ve been reading through the new information about UXP and the announcement that it will be replacing CEP. If this happens it will likely mean the end of our current CEP extension, since the support provided in UXP doe…

---

## [\[Bug report\] entry.delete()](https://forums.creativeclouddeveloper.com/t/bug-report-entry-delete/184)

<div class="topic-metadata">

**Author:** [@tullio](https://forums.creativeclouddeveloper.com/u/tullio)\
**Replies:** 3\
**Last updated:** [April 6, 2023, 10:28pm UTC](https://forums.creativeclouddeveloper.com/t/bug-report-entry-delete/184 "2023-04-06T22:28:19Z")

</div>

From the docs: entry.delete() Removes this entry from the file system. If the entry is a folder, all the contents will also be removed My code: try{ await entry.delete(); }catch(e){ console.log(e); } Error: \[…

---

## [Add support for event.stopPropagation, event.preventDefault and event.stopImmediatePropagation](https://forums.creativeclouddeveloper.com/t/add-support-for-event-stoppropagation-event-preventdefault-and-event-stopimmediatepropagation/1176)

<div class="topic-metadata">

**Author:** [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Replies:** 3\
**Last updated:** [July 15, 2024, 3:14pm UTC](https://forums.creativeclouddeveloper.com/t/add-support-for-event-stoppropagation-event-preventdefault-and-event-stopimmediatepropagation/1176 "2024-07-15T15:14:37Z")

</div>

A few tools that I’m working on listen the click event and then show a border or outline around an element. This lets you see the size easily and make changes. But the click event is not stopped and things like checkboxe…

---

## [Anyone using Firebase real time DB in their plugin?](https://forums.creativeclouddeveloper.com/t/anyone-using-firebase-real-time-db-in-their-plugin/3839)

<div class="topic-metadata">

**Author:** [@ispykenny](https://forums.creativeclouddeveloper.com/u/ispykenny)\
**Replies:** 5\
**Last updated:** [June 10, 2024, 9:24am UTC](https://forums.creativeclouddeveloper.com/t/anyone-using-firebase-real-time-db-in-their-plugin/3839 "2024-06-10T09:24:38Z")

</div>

Been working on making updates to my Task List plugin. Was able to get firebase auth to work out nicely but cannot get any of the read/write to the real time DB to work. Anyone have success with this?

---

## [Uxp module failed to resolve in react XD plugin](https://forums.creativeclouddeveloper.com/t/uxp-module-failed-to-resolve-in-react-xd-plugin/787)

<div class="topic-metadata">

**Author:** [@saud](https://forums.creativeclouddeveloper.com/u/saud)\
**Replies:** 6\
**Last updated:** [May 24, 2024, 11:01am UTC](https://forums.creativeclouddeveloper.com/t/uxp-module-failed-to-resolve-in-react-xd-plugin/787 "2024-05-24T11:01:36Z")

</div>

Using the example code and getting this error.

---

## [UXP to C++ Plugin Communication](https://forums.creativeclouddeveloper.com/t/uxp-to-c-plugin-communication/793)

<div class="topic-metadata">

**Author:** [@justin2taylor](https://forums.creativeclouddeveloper.com/u/justin2taylor)\
**Replies:** 7\
**Last updated:** [March 27, 2024, 3:33pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-to-c-plugin-communication/793 "2024-03-27T15:33:05Z")

</div>

Several tools of mine rely upon 2-way communication between Scripting and C++ plugins. This is currently accomplished in After Effects with: AEGP\_ExecuteScript() (C++ \> Scripting) ExternalObject() DLLs like PlugPlug (…

---

## [System Call Access for UXP](https://forums.creativeclouddeveloper.com/t/system-call-access-for-uxp/799)

<div class="topic-metadata">

**Author:** [@justin2taylor](https://forums.creativeclouddeveloper.com/u/justin2taylor)\
**Replies:** 31\
**Last updated:** [March 27, 2024, 3:16pm UTC](https://forums.creativeclouddeveloper.com/t/system-call-access-for-uxp/799 "2024-03-27T15:16:06Z")

</div>

There’s been a lot of discussion about this already, so thought it would make sense to add a topic for it: Basically, a lot of our tools make system calls (with system.callSystem() or childProcess.exec() in Node.js) to …

---

## [JSON Schema for manifest.json](https://forums.creativeclouddeveloper.com/t/json-schema-for-manifest-json/698)

<div class="topic-metadata">

**Author:** [@pklaschka](https://forums.creativeclouddeveloper.com/u/pklaschka)\
**Replies:** 3\
**Last updated:** [February 28, 2024, 5:38pm UTC](https://forums.creativeclouddeveloper.com/t/json-schema-for-manifest-json/698 "2024-02-28T17:38:39Z")

</div>

I’ve just published a JSON schema file for the plugin manifest.json file. It can get used to validate your manifest.json while editing it and for coding assistance features like linting (as I’ve basically just said :laug…

---

## [CSS Animations](https://forums.creativeclouddeveloper.com/t/css-animations/1103)

<div class="topic-metadata">

**Author:** [@matt.holcombe](https://forums.creativeclouddeveloper.com/u/matt.holcombe)\
**Replies:** 9\
**Last updated:** [February 19, 2024, 11:23am UTC](https://forums.creativeclouddeveloper.com/t/css-animations/1103 "2024-02-19T11:23:05Z")

</div>

Are CSS animations / keyframes supported in panel plugins? It seems to just render a static circle when I implement something simple like this: https://codepen.io/anon/pen/jgBPGK

---

## [Availability of new version](https://forums.creativeclouddeveloper.com/t/availability-of-new-version/6883)

<div class="topic-metadata">

**Author:** [@Jagjiban](https://forums.creativeclouddeveloper.com/u/Jagjiban)\
**Replies:** 2\
**Last updated:** [November 9, 2023, 6:59am UTC](https://forums.creativeclouddeveloper.com/t/availability-of-new-version/6883 "2023-11-09T06:59:20Z")

</div>

I just want to understand the upgrade procedure of XD plugins? let’s say I have a plugin installed with version 0.0.1 and the vendor has released a new version 0.0.2 will the plugin get updated automatically or I need …

---

## [Save an XML / txt file to the temporary plugin folder](https://forums.creativeclouddeveloper.com/t/save-an-xml-txt-file-to-the-temporary-plugin-folder/6846)

<div class="topic-metadata">

**Author:** [@blackicon](https://forums.creativeclouddeveloper.com/u/blackicon)\
**Replies:** 3\
**Last updated:** [October 26, 2023, 4:25pm UTC](https://forums.creativeclouddeveloper.com/t/save-an-xml-txt-file-to-the-temporary-plugin-folder/6846 "2023-10-26T16:25:34Z")

</div>

Hello, I need your collective knowledge :slight\_smile: I’ve been trying for days to find a way to save an XML file to the temporary plugin folder, but it’s not working at all. I don’t care if it’s an XML file or a TXT f…

---

## [Is it possible to implement Google and Okta single sign-on (SSO) to my own service in a pugin?](https://forums.creativeclouddeveloper.com/t/is-it-possible-to-implement-google-and-okta-single-sign-on-sso-to-my-own-service-in-a-pugin/3345)

<div class="topic-metadata">

**Author:** [@Anton](https://forums.creativeclouddeveloper.com/u/Anton)\
**Replies:** 7\
**Last updated:** [October 24, 2023, 8:53pm UTC](https://forums.creativeclouddeveloper.com/t/is-it-possible-to-implement-google-and-okta-single-sign-on-sso-to-my-own-service-in-a-pugin/3345 "2023-10-24T20:53:48Z")

</div>

Hi! I am working on a plugin that I would like to add Google and Okta single sign-on (SSO) to. Has anyone worked on something like this before? To clarify, it is not that I want to add SSO that would let a user log into…

---

## [Adobe XD focus in/out](https://forums.creativeclouddeveloper.com/t/adobe-xd-focus-in-out/6492)

<div class="topic-metadata">

**Author:** [@Jagjiban](https://forums.creativeclouddeveloper.com/u/Jagjiban)\
**Replies:** 3\
**Last updated:** [July 25, 2023, 9:34am UTC](https://forums.creativeclouddeveloper.com/t/adobe-xd-focus-in-out/6492 "2023-07-25T09:34:43Z")

</div>

Is there a way to detect when XD gets focus out and focus in?

---

## [Logged in Adobe Id or System Unique Id](https://forums.creativeclouddeveloper.com/t/logged-in-adobe-id-or-system-unique-id/6499)

<div class="topic-metadata">

**Author:** [@Jagjiban](https://forums.creativeclouddeveloper.com/u/Jagjiban)\
**Replies:** 2\
**Last updated:** [July 13, 2023, 11:32am UTC](https://forums.creativeclouddeveloper.com/t/logged-in-adobe-id-or-system-unique-id/6499 "2023-07-13T11:32:12Z")

</div>

Is there a way to find out the logged in user detail or a unique id of XD app?

---

## [Getting guide lines of artboard with Adobe XD plugin API](https://forums.creativeclouddeveloper.com/t/getting-guide-lines-of-artboard-with-adobe-xd-plugin-api/6380)

<div class="topic-metadata">

**Author:** [@ricochet](https://forums.creativeclouddeveloper.com/u/ricochet)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 3:14pm UTC](https://forums.creativeclouddeveloper.com/t/getting-guide-lines-of-artboard-with-adobe-xd-plugin-api/6380 "2023-06-07T15:14:36Z")

</div>

Hi :slight\_smile: I would like to get position of guide lines that are present on my artboard on XD project with plugin API. You can see guide lines on screen below: Can you show me code example or point to documen…

---

## [Reading and writing a scenenode to the clipboard](https://forums.creativeclouddeveloper.com/t/reading-and-writing-a-scenenode-to-the-clipboard/6332)

<div class="topic-metadata">

**Author:** [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Replies:** 3\
**Last updated:** [May 27, 2023, 1:28am UTC](https://forums.creativeclouddeveloper.com/t/reading-and-writing-a-scenenode-to-the-clipboard/6332 "2023-05-27T01:28:49Z")

</div>

How would one read and write a Scene node to the clipboard? Here is what I’ve tried: async function buttonClickHandler() { const {selection} = require("scenegraph"); var item = selection.items\[0\]; try { …

---

## [Hello everyone - Storyboard Editor Plugin](https://forums.creativeclouddeveloper.com/t/hello-everyone-storyboard-editor-plugin/1809)

<div class="topic-metadata">

**Author:** [@kwiksher](https://forums.creativeclouddeveloper.com/u/kwiksher)\
**Replies:** 2\
**Last updated:** [April 28, 2023, 12:30am UTC](https://forums.creativeclouddeveloper.com/t/hello-everyone-storyboard-editor-plugin/1809 "2023-04-28T00:30:33Z")

</div>

Hi I made a storyboard editor plugin. There are the importer extension to Ae/Pr/An too. If you would like to, please take a look.

[Next page](https://forums.creativeclouddeveloper.com/c/adobe-xd/xd/8.md?page=1)
