08-29-2013 08:49 AM
What are the differences:
Application app = Connect(...)
var obj1 = app.Core.KeywordRecordTypes[index1].CreateEditableKeywordRecord()
var obj2 = app.Core.GetDocumentByID(index2a).KeywordRecords[index2b].CreateEditableKeywordRecord()
What are the differences between obj1 and obj2?
08-29-2013 09:36 AM
There are no differences. The only difference is the way you get to it.
The KeywordRecord objects are the same, so calling CreateEditableKeywordRecord off of either of them will generate the same object.
08-29-2013 04:50 PM
Tim's answer is almost correct.
The objects obj1 and obj2 are mostly the same except obj2 contains the record instance ID of the record from which you created this EditableKeywordRecord. Therefore you cannot use obj1 in KeywordModifier.UpdateKeywordRecord. Since update by definition needs the id of the row you are trying to update which will not exist in obj1.
08-30-2013 05:24 AM
Thanks, Sriram, I needed to know that detail.
🙂
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.