I am trying to add an archive button to export the attachments from the selected mail document to an external archiving system. I have everything working EXCEPT I cannot seem to retrieve the ReplicaId of the mail database. I have added a button to the ... (More menu option) in Verse using com.ibm.verse.ext.widget. I get the needed fields to archive the document including the NotesUid. All this gets passed to my third party web application which, in turn, will then archive the selected attachments to our proprietary archive. How do I get the replica id of the database that the user is currently accessing. If I cannot get the ID how would I get the database and server name?
I lotusscript I would have done a:
Dim session as New NotesSession
Dim replId As String
replId := session.Currentdatabase.Replicaid
as you can see QED.
Thanking you in advance
Environment:
HCL Verse 2.0
HCL Domino 11.0.1FP1
I have followed the documentation here: https://ibmverse.github.io/verse-developer/developers/#verse-extension-points
PS: I have read though the entire documentation and found northing. I did check the verseApiData (incl. context but found nothing). Maybe I need to add it to the permissions section in the application.json file?