cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with VB script to copy keyword (KW) value from one KW to another

Hien_Nguyen
Champ in-the-making
Champ in-the-making

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

0 REPLIES 0
Getting started

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.