Macro Enum Parameter Displaytext

Hi,

I am developing a macro for confluence. One of the input parameters is a enum of predefined image formats.
The format selected by the user will be used to call an API with the Format ID (e.g. “23” or “25”).
How can I add an additional description to each enum value so I can display the user explanations on each format?

This is how I tried:

      <parameters>
            <parameter name="Format" type="enum" default="24">
                <value name="24">100x100 (Thumbnail)</value>
                <value name="39">1024x1024</value>
            </parameter>
        </parameters>

But it does not work. How do I cange the display text of those values?

1 Like

Hello Fabian.

It was a long time since the question was asked - could you please tell if you resolved this?

Thank you