HiI have a document which have few rich text fields and each field have one attach file, using agent how I can detach it to folder in share drive.
Thanks
HiI have a document which have few rich text fields and each field have one attach file, using agent how I can detach it to folder in share drive.
Thanks
Subject: How to detach attach files from document to folder.
Assuming you’ve Mapped the Shared Folder to a drive.
LotusScript Code looks something like this:-
'
Dim rti as NotesRichTextItem
Set rti = doc.GetFirstItem(“”)
Forall emb in rti.EmbeddedObjects
If emb.Type = EMBED_ATTACHMENT Then
Call emb.ExtractFile(“” & emb.Source)
End if
End Forall