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 10 hours ago in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

88 views 0 12
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