03-31-2021 05:00 PM
Anyone have a sample of VB script that copy one keyword value to another keyword? This script will be hooked in Scan Queue/Pre Index. I have it working if I set the variable to constant "12345". Below is the script if the KW is constant 12345. I need help with VB script method to get the current value of the "SYS Email Subject" keyword and assign it to a variable so I can copy/add to another keyword. Thank you so much:
dim obapp
set obapp = CreateObject ("onbase.application")
dim panel
set panel = obapp.IndexKeywordPanel
dim StrMailSubject
StrMailSubject = "12345"
dim panelkeys
set panelkeys = panel.Keywords
panelkeys.AddKeyword "MRN", StrMailSubject
panel.UpdateKeywords
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.