Has anyone discovered how you can have a custom list of properties when selecting multivalue in smartobjects?
I have set up a series of service brokers and one of the properties i am trying to use i want to use as multivalue to ensure that the user only has a set list of options.
The code i have tried is as follows but it does not give me the options when trying to select in a smartobject...
Code in Service Broker
Property applicationStatusTypeID = Createproperty(SoType.MultiValue, "ApplicationStatusTypeID", "The Application Status Type ID", "The Application Status Type ID");
//add types
applicationStatusTypeID.MetaData.ServiceProperties.Add(
"ApplicationLoaded", 1);applicationStatusTypeID.MetaData.ServiceProperties.Add("Approval", 2);
applicationStatusTypeID.MetaData.ServiceProperties.Add("ApprovalLetterSent", 3);
Output of schema in BrokerManagement
<property name="ApplicationStatusTypeID" type="" sotype="multivalue">
<Items><Item>This is item 1</Item><Item>This is item 2</Item></Items>)
However this gives nothing in the service properties.
Has anyone had any success with this?
cheers