08-01-2017 01:08 PM
I was asked to look into whether or not this can be done through the API.
The client has requested a workflow task that will take the keywords and document type of the document they are currently on, and show them the upload screen with the document type and keywords already filled in. Currently, with a system task, they have to select the document type again.
I’m not really finding anything in the SDK. There’s information about archiving new documents, but not doing it interactively. The sample code has everything hard-coded in.
This client is on OnBase 15.
08-02-2017 06:17 AM
As far as I know this is not possible.
(my information is also on v15, I can't think of any new features that I've read about in future versions that would help)
Related info:
-There are "Script Hooks" related to indexing, various types of Unity Scripts that can be triggered by events around indexing, keyword changes, etc.. Each one runs in a slightly different context (different time in the process, different input and output). I don't think any of them will do quite what you need. See "Unity API Script Hooks" in the SDK.
-We have a suite of complex E-forms that do a lot of client-side Javascript and AJAXy interaction with mutliple web services. They include an AJAXy custom upload functionality talking to a custom web service. You could build something similar *just* for this need. I would be very surprised if the effort and complexity was a good value, but I'm happy to offer more info and pointers.
If anyone can suggest a configurable way to handle this, or not-insanely-complex option involving any kind of custom development, I will be psyched to know about it.
08-02-2017 06:17 AM
As far as I know this is not possible.
(my information is also on v15, I can't think of any new features that I've read about in future versions that would help)
Related info:
-There are "Script Hooks" related to indexing, various types of Unity Scripts that can be triggered by events around indexing, keyword changes, etc.. Each one runs in a slightly different context (different time in the process, different input and output). I don't think any of them will do quite what you need. See "Unity API Script Hooks" in the SDK.
-We have a suite of complex E-forms that do a lot of client-side Javascript and AJAXy interaction with mutliple web services. They include an AJAXy custom upload functionality talking to a custom web service. You could build something similar *just* for this need. I would be very surprised if the effort and complexity was a good value, but I'm happy to offer more info and pointers.
If anyone can suggest a configurable way to handle this, or not-insanely-complex option involving any kind of custom development, I will be psyched to know about it.
08-02-2017 07:11 AM
Lacking an API solution, you could still use the Import Document action with as many actions as document types you expect to use this with. You would need a series of rules checking doctype and On True "Import Document" actions configured with a specific default document type. It isn't exactly elegant and could be a pain to maintain, but I believe it provides the functionality you seek. (A good enhancement request might be to add "Get doctype from property value" functionality to the Import Document action.)
Another approach is to set a generic "Change Me" doctype for the Import Document action, use "Fill Document Handle Keyword(s)", and then add a "Change Me" life cycle that processes the incoming "Change Me" document and re-indexes it with the attributes of the original (now related) document.
08-02-2017 07:14 AM
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.