May 24, Maybe try a different content type, this should work files. cfcontent. Jan 13, To output a Flashpaper format report, use a CFCONTENT type of . I know CFDocument only supports FlashPaper and PDF (as of CF8). TIA. Jun 11, Bug in ColdFusion’s cfcontent within CustomTag execution end. Removing the trailing slash worked for me too (CF8). Thank you!!.
|Published (Last):||19 October 2006|
|PDF File Size:||14.59 Mb|
|ePub File Size:||1.45 Mb|
|Price:||Free* [*Free Regsitration Required]|
Check the file name of the PDF.
Email Twitter Facebook LinkedIn. I just don’t think it’s in anyone’s interest to let comments on a blog entry go off on a real tangent. Here’s good news though. Blog Sofware by Ray Camden. We found another way to work it. cfcontenh
ColdFusion Muse: MIME Types, Coldfusion and You
Travis, I am thinking it is an IE9 issue as well. This works a treat. Don’t know if that makes a difference, but that’s where I’m heading. Thanks, Todd, and happy to help, John.
I can get this to work in FF, but not IE9. I have a CFC method somewhere that replaces around 30 commonly used symbols.
Roe, That’s the point of the bug. I don’t remember the ascii codes for the decimal character, but I’m sure that’s pretty easy to find. So at least its a bug: But again, please do not offer those clarifications here.
I’ll try it in the morning when my brain isn’t quite so fried! Also, do you mean to ask how to do it from CF, necessarily? Oh sorry, I didn’t see the comment you had – right, you are using the correct CFExit method Filesize was way too large for some reason.
Bug in ColdFusion’s cfcontent within CustomTag execution end
This is cfconteht very innovative stuff. This would round up this useful page! It is set to yes by default, and increases file size greatly. I was so excited to see it run on CF and see that it could be a real option for us moving forwar Perhaps it just dumps it out? Have them both, and you definitely get some sort of bug.
I used some Ben Nadel cfclntent code to check this, and his code used static text in the cfsavecontent, used a static filename, and still used toBinary and Tobase64 around the cfsavecontent name in the cfcontent tag, but still no download box This can fool you if you do development running a desktop running CF – because your local machine has all the MIME mappings of the crowded subway that is a developers workstation. I’ll do a new blog entry on it in a moment.
January 13, It was much simpler to code the app just to generate the PDF on the fly and email it as an attachment and leave storage up to the user. That’s what I meant by the point I made under ‘why might you do this?