06-02-2015 01:11 PM
Hello,
We are using On base 15. We are trying to get the default value of a required keyword.
Screenshot 1: On base config: I have Name as a required Keyword and set the default value = 'HELLO WORLD'
Screenshot 2: On base client, Name is shown in red. This is correct. Although it shows no Default value.
I am seeing the same behavior in code.
DocumentType docType = app.Core.DocumentTypes.Find(123);
KeywordType kwType = docType.KeywordRecordTypes.FindKeywordType("Name");
string default = kwType.DefaultValue.
How do I get on base 15 to recognize the default value?
Thank you
06-02-2015 01:22 PM
To get the default value, you're going to need to call CreateKeywordWithDefaultValue off of KeywordType and pass in the Document Type reference.
There was a problem with the original implementation of KeywordType.DefaultValue since default values are configured at a Document Type level.
06-02-2015 01:22 PM
To get the default value, you're going to need to call CreateKeywordWithDefaultValue off of KeywordType and pass in the Document Type reference.
There was a problem with the original implementation of KeywordType.DefaultValue since default values are configured at a Document Type level.
06-02-2015 01:52 PM
06-03-2015 11:09 AM
06-03-2015 12:33 PM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.