Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UserPref - Activates "Edit" Dropdown Option on Gadget?

Eddie Connatser
Contributor
September 17, 2013

After adding a few "UserPref"s to my custom gadget's XML, when I add the gadget to my dashboard and try to configure it through the dropdown/Edit option, nothing happens. Am I missing something? Here is the code below:

<?xml version="1.0" encoding="UTF-8" ?>

<Module>

<ModulePrefs title="Pref Test" author_email="adent@example.com" directory_title="Pref Test D-Title"
screenshot="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-screenshot.png"
thumbnail="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-thumbnail.png">

<Require feature="minimessage" />
<Optional feature="dynamic-height" />

</ModulePrefs>


<UserPref name="show_date" display_name="Show Dates?" datatype="bool" default_value="true"/>
<UserPref name="difficulty" display_name="Difficulty" datatype="enum" default_value="4">
<EnumValue value="3" display_value="Easy"/>
<EnumValue value="4" display_value="Medium"/>
<EnumValue value="5" display_value="Hard"/>
</UserPref>

<Content type="html">
<![CDATA[
Hello, world!
]]>
</Content>

</Module>

Thanks in advance!

1 answer

0 votes
seb bernier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2015

I am having the same exact problem. Can someone post an answer to this?
Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events