10-09-2014 06:21 AM
I need the scan queue to be added as a keyword. I have seen the VB script that does this, but I must be slow... I am doing something wrong. I need to know exactly how and where to add that script. I have created the script, but I have run out of options as to where to run it. Please help!
10-09-2014 06:25 AM
You could set it to run as a 'Scan Queue - Post-Scan' and/or 'Scan Queue - Sweep Document' script hook (either or both depending on how you're bringing documents into your scan queue). Configuration | Queries | Script Hooks
Alternatively, if you don't assign document types until the indexing queue, you could run the script as a 'Scan Queue - Post Index' hook.
10-09-2014 06:34 AM
Ok, now I'm not sure if I have the script correct. Could you please suggest a script I can use for the post Index script hook. Is there anything else I need to check when configuring the scan queue?
10-09-2014 07:19 AM
Try using this as a pre-index script (not post, because we want to use the keyword panel object to get the name of the scan queue). Replace <keyword type name here> with the name of the keyword that you want to hold the scan queue name:
dim obapp
set obapp = CreateObject ("onbase.application")
dim panel
set panel = obapp.IndexKeywordPanel
dim scanqueuename
scanqueuename = panel.ScanQueue
dim panelkeys
set panelkeys = panel.Keywords
panelkeys.AddKeyword "<keyword type name here>", scanqueuename
panel.UpdateKeywords
set panelkeys = Nothing
set panel = Nothing
set obapp = Nothing
10-09-2014 08:22 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.