How to combine SharePoint list items into a Word 2003 document

I want to create a function like "Print List" in WSS 3.0, and I was planning on converting the List data to a Word document and then printing. Is there a way to combine list items into a Word 2003 document, I've googled some solutions, but they only work with Word 2007.

+2


source to share


2 answers


You will need to write a custom solution that will loop through the list items and generate WordML . This is the XML format for Word 2003. Here's a guide to get you started.



Once the XML file has been generated, you can submit it for upload using standard ASP.NET methods. Here's an example that should work. Alternatively, you can save the result in a document library and tell users to download it from there.

+1


source


How important is it to have a "* .doc" file? If you just need to open the document in Word 2003, you can simply install the Microsoft Office Compatibility Pack



0


source







All Articles