I have a report which works fine as HTML output.
As soon as I add in the following CFCONTENT tag, the report somehow looses all the
variables from the form previous to it which passes information into it.
Here's the tag I'm using:
<cfcontent type="application/msword">
Now, If I change the tag to:
<cfcontent type="application/rtf">
It works fine and I can download the generated report, name it as a doc file, and then
open it up in Word.
What's the problem here? First of all, I'd really like my browser to launch Word
(we're all using MSIE 5.0) and secondly, if I'm forced to download the file instead,
I'd like to pass a doc name through to the download prompt of the browser. (It
currently names it as the name of the CFML template by default.)
I've tried this trick:
http://servername/cfdocs/index.cfm/xyz.doc?fuseaction=showWordDoc
But it doesn't work on my server. Gives me a 405 error.
What am I doing wrong?
---mark
--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message
to [EMAIL PROTECTED] with 'unsubscribe' in the body.