Hi,
I've got a question concerning default-values in Dropdown-Lists.
When I am open a new marketing campaign form I can choose a main channel. By default "(Non-specified)" is selected. By reason that about 90%+ of my campaigns are in the main channel "E-Mail", I would like to chose "E-Mail" as the default value.
I analyzed that the form refers to the schema "nms:operation", which is a factory-configured object. In fact of this information I have to create an extension object.
The XML of the extension object is given below:
<srcSchema _cs="Campaigns (fue)" created="2014-09-02 13:51:00.947Z" createdBy-id="0"
desc="Extension Schema by FUe" entitySchema="xtk:srcSchema" extendedSchema="nms:operation"
img="nms:operation.png" label="Campaigns" labelSingular="Campaign" lastModified="2014-09-02 14:52:05.857Z"
mappingType="sql" md5="A66FD32F668697F9E1B9E09B5EA920CE" modifiedBy-id="0"
name="operation" namespace="fue" xtkschema="xtk:srcSchema">
<createdBy _cs="Frank Ueffing (Frank.Ueffing)"/>
<modifiedBy _cs="Frank Ueffing (Frank.Ueffing)"/>
<enumeration default="mail" name="messageType" template="nms:delivery:messageType"/>
<element desc="Extension Schema by FUe" img="nms:operation.png" label="Campaigns"
labelSingular="Campaign" name="operation"/>
</srcSchema>
But it did not work. The default is still "(Non-specified)". 😞
I also tried to add values to the enumeration, like "PoS" (Point of Sale). Look at the XML:
<enumeration default="mail" name="messageType" template="nms:delivery:messageType">
<value label="pos" name="pos" value="999"/>
</enumeration>
Curiosly the appendix works, but the default-value fails.
In my opinion the extension-schema is right. But what is the failure concerning the default-value?
I am looking forward to your support. Thanks!
Best regards,
Frank