cancel
Showing results for 
Search instead for 
Did you mean: 

Adding/updating keywords in a MIKG?

Tom_Bellucco2
Champ in-the-making
Champ in-the-making

We have an API that uses the OnBase SDK to perform various document-related functions. It was written using the SDK from OnBase 16. Client recently upgraded to EP5 and we recompiled our API with the libraries from EP5. Not 100% certain of timing but since the upgrade we have encountered a situation where intermittently an error will be thrown when trying to add/update keywords in a MIKG assigned to a doc type. The MIKG *is* correctly assigned to this doc type and we know this because the code works most of the time. However when it stops working the only way to get it to work again is to stop the app pool for our API and restart it. The error that gets thrown is that the MIKG is not assigned to this doc type (when in fact we know that it is). I opened a support case and the response was that this behavior has been seen if UpdateKeyword() is used instead of UpdateMultiInstanceKeywordRecord().

 

I am wondering if UpdateMultiInstanceKeywordRecord() was added after OnBase 16.

 

Also when looking at the OnBase SDK site it does mention UpdateMultiInstanceKeywordRecord() but the example code provided on how to add/update/remove keywords does not reference these methods. When I search Community for UpdateMultiInstanceKeywordRecord I get zero results.

 

A colleague of mine who has completed API certification much more recently than me is looking through his course materials to see if it is mentioned. I no longer have my course materials but I am 95% sure the code provided is the same code used as an example on the OnBase SDK site and does not use UpdateMultiInstanceKeywordRecord().

 

That was a lot of typing to ask what what method you use to add/update keywords in a MIKG. Thanks!

5 REPLIES 5

I would recommend providing a link to this thread to your Technical Support Analyst and they would be able to contact the appropriate team(s) for assistance.