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
BedrockMission!

Learn more

View all

Sign in to view all badges

Dialog variablePropertyComponent

crich2784
Level 4
Level 4

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!

6 Replies
Dipti_Chauhan
Community Advisor
Community Advisor

Hi

can you please put more details?

what does variables means here?

crich2784
Level 4
Level 4
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.
crich2784
Level 4
Level 4

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.

shelly-goel
Community Advisor
Community Advisor

@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"