Confluence Macro Plugin - Customise Input Parameters

Hi,

I tried set label and description of input parameter element in atlassian-plugin.xml, see example:

....
<parameters>
<parameter name="param_name" type="boolean" default="false">
<label>Some label (asdasd)</label>
<description>... some description...</description>
</parameter>
</parameters>
....


But this dont work... is any way to set label and description for input macro parameters?

Second question: Is possible disable input field (parameter) with name "Body Text" in macro inserting?

Thanks for answers

2 answers

1 accepted

This widget could not be displayed.
David Simpson Community Champion Jul 12, 2011

Thanks a lot, it was very useful :)

David Simpson Community Champion Jul 13, 2011

@Diego Elos: If it helped, up-vote it or mark as answered. Thanks!

This widget could not be displayed.

new question:

<parameter name="draw" type="enum" required="true">
<value name="line" />
<value name="fill" />
</parameter>

How I can set different string of name element value? Because I want use string "line" only as code name, not display string.

David Simpson Community Champion Jul 13, 2011

I would guess at...

com.example.confluence.plugin.macroname.param.paramname.value.valuename.label=XXX

So in your case, perhaps...

com.example.confluence.plugin.macroname.param.draw.value.line.label=Lin
com.example.confluence.plugin.macroname.param.draw.value.fill.label=Fill

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

277 views 2 4
Join discussion

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