I have a simple form with a rich text lite field where users can include an attachment.
We want to email the content in the form to several people including the attachment.
Does anyone know how to include the attachment from the form in an email?
I have a simple form with a rich text lite field where users can include an attachment.
We want to email the content in the form to several people including the attachment.
Does anyone know how to include the attachment from the form in an email?
Subject: attachment copy
Depends.
Sometimes, I do a copyallitems from orig doc to a new document and then remove the fields I do not want on the new document. Other times, I download the attachment from the original document to the local drive and then upload it into a new rich text field on the new document.
Subject: “Actions” > “Forward”
I’m not sure if I understood you, you can send any document with it’s form and attachments just by click “Actions” > “Forward” from a view or from the document.
Subject: re: attachments
You can try this script
Dim session As New NotesSession
Dim workspace As New NotesUIWorkspace
Dim db As NotesDatabase
Dim uidoc As NotesUIDocument
Dim docA As NotesDocument
Dim docB As NotesDocument
Dim rtitem As NotesRichTextItem
Dim success As Variant
Set db = session.CurrentDatabase
Set uidoc = workspace.CurrentDocument
Set docA = uidoc.Document
Set docB = New NotesDocument( db )
Set rtitem = New NotesRichTextItem( docB, "Body" )
docB.Form = "Memo"
docB.SendTo = docA.EmailList
docB.Subject = docA.Subject(0)
Call docB.Save( True, True )
success = docA.RenderToRTItem( rtitem )
Call docB.Save( True, True )
Call workspace.EditDocument(True,docB,False)