Skip to main content
BurtonDev
Inspiring
May 21, 2021
Question

How Can I Make Panel Components Load Dynamically With UXP?

  • May 21, 2021
  • 2 replies
  • 2011 views

I'm building a UXP panel for PS. I don't want all the components to be hard-coded - I want some to load dynamically.

In one case, I'd like to give the user the option to add a component or groups of components with a "+" button.

In the other case, I'd like the type of component to be determined depending on the value of a specific field. For example, once the user selects a value for a dropdown, the respective components should become visible.

I'm not sure how to go about this - which is the best way that is supported with UXP?

This topic has been closed for replies.

2 replies

BurtonDev
BurtonDevAuthor
Inspiring
May 25, 2021

Anyone else have an answer to my question and would genuinely like to help me and others that might in the future read through this post? The question is, "How Can I Make Panel Components Load Dynamically With UXP?"

Kukurykus
Legend
May 22, 2021
BurtonDev
BurtonDevAuthor
Inspiring
May 23, 2021

Hello, @Kukurykus. Thank you for your reply. While I do appreciate you directing me to the Creative Cloud Developer forum, a direct link would have been better than having me click, read, click, read, click read... etc. through multiple, unrelated posts just to get there.

 

I don't understand why Adobe did not include the forum for developers here. I've been using this forum for years for many different CC products. I don't want to have to create yet another account and login.

 

If anyone knows the answer to my question, please post it here.

Kukurykus
Legend
May 23, 2021

The goal of no direct link was to show how many users are not aware of something they should be. You're right then about necessity of information redirecting you to UXP home.

 

The answer is there is hard-working squad dedicated to improving UXP, not like here where staff shows only occasionally, while the role of moderators and ACP's is to keep forum clean and share some solutions. So like those emploees attended in closed section on other forum, restricted for choosen users, which were helping to test UXP at its early phase, so now since it's still not finished product but with more functionalities they decided to be open for public.