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!!.

Author: Galkis JoJocage
Country: Morocco
Language: English (Spanish)
Genre: Politics
Published (Last): 19 October 2006
Pages: 195
PDF File Size: 14.59 Mb
ePub File Size: 1.45 Mb
ISBN: 518-6-61184-918-1
Downloads: 53561
Price: Free* [*Free Regsitration Required]
Uploader: Garn

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

Saved me some time and headache. Now I get duplicate results for some odd reason. Sign up using Email and Password. Blog provided and hosted by CF Webtools. And I see now where the “commercial” discussion came from. Stack Overflow works best with JavaScript enabled. I’ve tried looking this up on the web and can’t seem to find this info. Of course, if you just did that above, you might as well not have bothered, right?

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?

By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. Instead, the variable is simply not set at all. We are on CF9 with IE9, using coldbox 2. You ccontent have to write your own headers. Why might you do this? From that information, the handler function will manipulate that data, and use this logic to display the download dialog cc8 for a Word document: One thing that may trip up readers is that you use a variable called boundary, without explaining to folks what it is.

Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.