Hi,Hoping someone will see what I may be doing wrong here. I have a view that I have exported to a spreadsheet which is read by a Notes agent. One of the columns of the view is populated by: @Text(@DocumentUniqueID).
I use this cell in the agent using the code as follows - always resulting in “invalid universal ID”
email_data (emailRow, 7) = xl_sheet.getData(1, irow, docuniqueid_col)
Dim doclink As NotesDocument
Dim docuniqueid As variant
docuniqueid = CStr(email_data(i, 7))
Set DocLink = db.GetDocumentByUNID(docuniqueid)
I always get “invalid universal ID” - I have verified the docuniqueid value matches the documentuniqueID in the view.
Any input or thoughts appreciated
Update - I added the below code and still get invalid universal ID:
set doclink - db.GetDocumentByUNID(“5AFE66A09B58033885257A800009990A”)