I have a document library of hundreds of Word docs. Due to a third party extension that we are using to create these Word docs, it can take a long time to open them. I know, ditch the third party app - if only it were that simple.
Anyhow, one feature we have is in the footer of the document it let's people know the document is only valid for the date printed and it shows the date. This way each time it's opened, it has the current date.
Can I have cf9 convert these on click? I have a table of contents that displays the files.
<a href="sops/#sops_title_pk#.#Trim(SOPs_title_ext)#" target="_blank">#Trim(Sections.SOPs_manual_prefix)#.#SOPs_title_section#.#SOPs_title_numb er#.#SOPs_title_revision#</a>
Cfdocument is for creating PDF or Flashpaper documents, not Word docs.
Sorry, I was unclear, I use cfdocument a lot to create pdf's from the database.
I have a lot of Word docs, I'd like those converted to pdf's when the user clicks a link referencing the Word doc. Right now, it opens the Word doc, but as I mentioned, we have a third party app installed that is making our Word difficult to work with.
Yes, you can use cfdocument to convert a word doc to a pdf, something like this:
<cfdocument format="pdf" srcfile="C:\word.doc" filename="C:\new.pdf"></cfdocument>
It does require that the OpenOffice integration is setup on your server (CF9+)