Could anyone shed light on the following please? The process I'm designing needs to send an email containing some SharePoint documents as attachments (the no. of documents and name of the documents will vary for each process). So I’ve used a SP Search event to load the documents into a content field and now I just want to email the documents in this content field as email attachments.
I’ve looked at K2 Documentation, specifically the Email Event Wizard/Attachments(Advanced Mode), which suggests you can drop a content field into the 'Content List' to attach multiple documents. However when I try the wizard won't drop the Content Field in.
The other solution I have looked at is using binary datafields. However, because the no. of documents is not known at design time, my solution needs to be dynamic so that a) the correct no. of datafields are populated and b) the email only contains these 'populated' datafields.
If someone could point me in the right direction with regards c# code to download a document (to a datafield) then I can do point 'a' above. I haven't got to the bottom of point 'b' though.
And of course if I'm making this more complicated than it should be, please let me know!
Thank you for any help.