In DOM how can I set the functionality for a field to accept multiple custom string value.
I am creating a DOM for configuration which already as three sections
Location, Make and Model, Device
I want to add another section which is to select protocol and select resources types which is multiselect select list, so I want to save as
This Protocol, This version , These resource types
Resource Types I am getting is from engine.GetUserConnection().GetProtocol().AllPAramaters
How can I get this done for DOM and also in script
The note on the bottom of this section of the following page on the documentation shows what FieldDescriptors allow multiple values and from which version onwards. https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DOM_objects/DOM_SectionDefinition.html#fielddescriptor
I think you are refering to a string FieldDescriptor, for this FieldDescriptor, multiple values are not allowed.
Depending on your use-case, you could add the field to a section that is allowed to be added multiple times to an instance. You can find more info for that on the Note on this page in the documentation: https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DOM_objects/DomDefinition.html#sectiondefinitionlink