Convert a List Item, including all attachments, to PDF

When converting HTML to PDF, please make sure you are running version 8.3 (or later) of the Muhimbi PDF Converter as that version comes with a much improved HTML Converter.

The Muhimbi PDF Converter for SharePoint provides first class support for converting (and / or merging) files stored in Document or Form Libraries. However, if you are looking to convert a List Item, including all attachments, into a single PDF then you have to do a little bit of work.

The key to combining the list item and attachments is our Merge Workflow Activity, which accepts a mix of URLs (to convert the HTML of the List Item View to PDF) and paths to attachments. For example the following 2 lines convert the list item and an attachment.

It is fairly simple to generate the fully qualified URL to the List Item, which is just a matter of requesting the ID of the current Item and concatenating it to the URL of the list's DispForm.aspx. However, retrieving the URLs to the attachments is a different matter as they all go into a generic 'attachments bin' for which file names cannot be queried from a SharePoint Designer workflow.