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: Kenris Dounos
Country: Lithuania
Language: English (Spanish)
Genre: Photos
Published (Last): 1 January 2011
Pages: 104
PDF File Size: 13.82 Mb
ePub File Size: 14.31 Mb
ISBN: 837-1-45102-481-3
Downloads: 55403
Price: Free* [*Free Regsitration Required]
Uploader: Zolozahn

Thank you, I can’t recommend it enough. I use this with a particular report I generate for external users. 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 cf88 is subject to these ff8. This is just a simplified example to show off the issue.

I have just finished getting this to work. Access on 64bit ColdFusion? Andrew, please reread the blog entry.

Bug in ColdFusion’s cfcontent within CustomTag execution end

This works a treat. Mark Kruger Related Categories: Maybe someone else knows better. 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 ccontent a developers cf88. I setup a FTP Yesterday I saw a note from Dan Switzer from Pengoworks of qForms fame that can get the mime type using the file path.

Blog Sofware by Ray Camden.

Yep, Bernie, that’s interesting to note. I’m having the same problem currently. I created a custom tag that only has the following: As I was helping someone with this iss Thanks for testing that out Charlie. Some may know the available FileName attribute, which allows you to save the output to a file.


That’s not obvious from your question. BTW I was using a cfmodule call to invoke my custom tag and my problem ended up having the same solution as listed above in the listed “work around.

Please correct the error and then click the Refresh button, or try again later. For one thing, it is doing the same thing as your switch statement – it is checking the file extension and finding the associated MIME mapping on the server. Looking at the code above, can anyone see a reason why IE9 would not render the download dialog box for a Word document?

More likely, you may choose this approach to facilitate caching and later reusing the generated output.

We are able to send all charactors to the XML output so far. Sounds like IE9’s problem. Turns out it’s not as easy as it could be. Barry, I’m not clear about your question. Thought it was working – but it’s NOT! Instead, I’d point you to other places where you can ask and get answers to questions. If I can find it, I’ll post it. This would round up this useful page! I have tried saveasname, mimetype but nothing seems to work, it still puts the.

GB in SQL Server – Coldfusion Database Access

I’ve blogged the technique Jon Wolski shows above with a full working example that also shows how you can embed images into an HTML document: I did some searching and found an explanation of it that suggests it can be any string so folks can either create such a variable or modify the 4 places it’s used within.


When trying to output to MS Excel I get an error. In order to clean out the output, I’m using the following ColdFusion code snippet to clear the output buffer:. Sometimes you need to be able to specify the MIME type using Cfcontent or inline headers to force the file to open in the proper application. I’ll do a new blog entry on it in a moment. Here’s a quick example: By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

August 2, If you are like me, you end up writing code that switches against the file extension to set the mime type.

Hope the resources offered may help. I missed a critical line in mycopy-n-paste.

CF8 – CFCONTENT file missing? | Adobe Community

This NAME attribute is for when you don’t want to do that. Removing the trailing slash worked for me too CF8. If your page has created any other output, don’t forget the Reset attribute cfcontemt well: Use Coldfusion rereplace and replace functions to change the filename to something that doesnt have spaces or special characters.