This is a tool for managing attachments in a generic way in Word. The user will be able to add files to a list of attached files, where it will be possible to open added files or delete them from the list. Furthermore, the user will be able to send the attached files as an email. See the commands below.
Module is located here:
...\ModuleLibrary\Attachments\
CMD
<Cmd case="SkabelonDesign.Attachments:AddAttachment"/>
Description: Allows the user to add attachments to the document. Attached files will appear in the list below the "Edit File" button.
Parameters: None.
CMD
<Cmd case="SkabelonDesign.Attachments:ShowOrRemove" />
Description: The user will be able to see a list of attachments, when these are added. This feature makes it possible to open an added file or delete it from the list.
Parameters: None.
CMD
<Cmd case="SkabelonDesign.Attachments:SendEmailWithAttachments" to1="x" subject="x" cc1="x" bcc1="x" body="x" attachActive="x"/>
Description: Send an email to specific email address with specified content.
Parameters:
to1
Define email address of reciever. If there are several receivers, use this parameter again like 'to2="x"', 'to3="x"', and so on.
subject
Define subject of email.
cc
Define if there is an email to be CC'ed.
bcc
Define is there is an email to be BCC'ed.
body
Define the body text in email.
attachActive
Define whether it must be true or false.
Here is an example:
<Cmd
case="SkabelonDesign.Attachments:SendEmailWithAttachments"
to1="lov@ft.dk"
subject="FIU Aktstykke {{Aktstykkenummer}}"
bcc1="min-forkontor@fm.dk; aps@fm.dk; uhk@fm.dk; tha@fm.dk; pne@fm.dk; akj@fm.dk; hebni@fm.dk; nieno@fm.dk; saran@fm.dk; pethi@fm.dk; ckn@fm.dk; jotha@fm.dk; mosoj@fm.dk; trisk@fm.dk "
body="************* DENNE MAIL KAN IKKE BESVARES *************"
attachActive="true"
/>
Comments
0 comments
Article is closed for comments.