Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dialog variablePropertyComponent

Avatar

Level 6

I only want to show a dropdown for Variables - i.e. remove the literal option.

 

Anybody know how to do this?  

I cannot find the documentation on the dialogs - can you kindly point it out?  Then, I'll RTM.

 

Thanks!

0 Replies

Avatar

Community Advisor

Hi

can you please put more details?

what does variables means here?

Avatar

Level 6
I'm creating a dialog to collect properties for a custom workflow component. For the dialog, one of the inputs is using the slingResourceType fd/workflow/components/common/variablePropertyComponent On the screen/dialog, it has a radio button for Variable or Literal. I only want a dropdown for a Variable - no literal option.

Avatar

Level 6

I'm creating a dialog to collect properties for a custom workflow component.

For the dialog, one of the inputs is using the slingResourceType fd/workflow/components/common/variablePropertyComponent

On the screen/dialog, it has a radio button for Variable or Literal.  I only want a dropdown for a Variable - no literal option.

Avatar

Level 10

@crich2784  You can try following the steps mentioned here:

https://aem.redquark.org/2018/10/day-15-custom-workflows-in-aem.html

and use the resourceType as sling:resourceType="granite/ui/components/coral/foundation/form/select"