Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Dialog variablePropertyComponent

Avatar

Level 7

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

Avatar

Community Advisor

Hi

can you please put more details?

what does variables means here?

Avatar

Level 7
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 7

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

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