Confluence Multiple attribute not working?

i am using Parameter enum type nut multiple attribute not working

1 answer

0 votes

You'll need to explain "multiple attribute" more clearly, I can think of three things it might be.

I wrote my code below.Which one written inside atlassian_plugin.xml

<parameter type="enum" name="colors" multiple="true">
<value name="red">
<value name="green">

<value name="yellow">
</parameter>

 

in above code, works for single select when multiple=fasle

but same macro fails when I set  multiple as true...I am getting empty text box with values as "true"

Still, really not enough context to explain what you're doing to most (I can guess, but I'm still not sure).

Could you please explain what you're trying to do, what you expect to happen and what docs you are following?

I am trying to create macro in confluence.i Used atlassian_plugin.xml inside parameter [type="enum"]

I wrote my code below.Which one written inside atlassian_plugin.xml

<parameter type="enum" name="colors" multiple="true">
<value name="red">
<value name="green">

<value name="yellow">
</parameter>

Ramesh,

Are you trying to create a drop-down selector that allows users to choose more than one option?

Regards,

Shannon

That's how I'm reading it.  The development docs suggest this is the way to do it as well.  Without explicitly saying it.

Yes I am trying to create a drop-down selector.But i can't so only i asked question.is it possible or not?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

371 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you