Subscribe

SC conf wizard won't accept default parameter value

[ Edited ]

I'm following Neil's guide to create an SC plugin using SC 4.1: https://communities.netapp.com/blogs/neil/2014/02/13/create-your-own-snapcreator-plug-in.

I defined a parameter in the .xml file like this:

<param>

   <name>PARAM1</name>

   <label>param1_label</label>

   <allowblank>false</allowblank>

   <default>My Default Value</default>

   <description>param1_description</description>

   <type>STRING</type>

</param>

When I run the Configuration Wizard and get to the screen to input PARAM1, if I type in "My Default Value" and click Next, the Wizard clears the field and won't proceed. It seems to regard a value equal to the specified default as blank.

Any ideas or workarounds? It will work if I remove the default value specification, but I'd like to provide a default value for the parameter as the parameter will almost always take that value.

Thanks,

Ben