Skip to Content
0
Nov 25, 2016 at 01:46 PM

Assign an array as Default Value to property in contribution.xml

156 Views

In my contribution.xml for an extension, I have a property like below:

<property
  id="values"
  title="Values"
  type="Array"
 />
<initialization>
       <defaultValue property="values">
            [10,12,13,16,9]
       </defaultValue>
</initialization>

I am getting error in Design Studio.

If I use property of type int then I have no problem. I guess I am passing the array incorrectly as default value. Any idea ?