I don't really know where to put out this question. Because it touches several subjects. We've got a Sharepoint 2010 site where we're trying to build a document Library for thousands of documents. There are workflows of approval in there to make sure the quality of each document stays intact.
Now, the problem lies within certain documents that's not supposed to be edited at all. Besides for a handful of People. But thousands of People need to be able to view the documents. I know, one can open it in Word as Write protected, but that doesn't stop anyone from actually saving the document as a New file and work on that.
So, I've thought out a couple of options:
- Convert the document to html format and display it inside an iFrame in Sharepoint.
- Convert the document to PDF at the end of the workflow. (How can I run a custom command in workflows anyway?)
- Run a macro on the Save event handler in Word that creates the PDF. But this will create the PDF before the document is approved.
Option 1 is doable, just testet it. BUT, there are hundreds of these documents. And that means we have to og through each one and move the header outside of the actual header and into the top of the document. We also lose Our margins on the documents.
Any thoughts? I think the best option is to create a PDF as a custom workflow on the very end of the workflow. But I can't find any way of running a custom command in workflows. Do I need Visual Studio? Seems kinda awkward to have to buy Visual Studio just for this one thing. I can Write console programs in Express Edition though.