Default or dropdown values possible for CDK?
I'm sure this has been requested before, but... can we get the ability to set up dropdown values for Connection Properties? Right now it looks like we only have "Text" or "Password" input types available. If not, even just being able to set a default value for a field would be nice.
You would use InputType.Text. Here's an example:
var entryDefinition = new EntryDefinition
InputType = InputType.Text,
IsRequired = true,
Label = "Archive Updated Data",
PropertyName = "archiveData",
Order = 2,
I hope this helps!
Help others find useful posts by selecting the best answer to your question. Click "Like" to highlight great replies.
This is a known issue in our API, and will be scheduled for a future release.
In the meantime, here is a workaround to the issue. When adding to the entryDefinition options, start the first parameter with a space:
Ex: entryDefinition.Options.Add(" SQL Server 2012", "Sql2012");
The space will avoid conversion to lower camel case and will yield a drop down entry with the desired casing.