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: Tojadal Moogubar
Country: Philippines
Language: English (Spanish)
Genre: Science
Published (Last): 20 April 2016
Pages: 484
PDF File Size: 10.19 Mb
ePub File Size: 3.34 Mb
ISBN: 567-8-50907-867-5
Downloads: 9722
Price: Free* [*Free Regsitration Required]
Uploader: Faukazahn

Some may know the available FileName attribute, which allows you to save the output to a file.

ColdFusion Muse: MIME Types, Coldfusion and You

This NAME attribute is simply an interesting alternative. Here’s a quick example: How would you output it? If your page has created any other output, don’t forget the Reset attribute as well: Why might you do this? Of course, if you just did that above, you might cfcontenh well not have bothered, right? The point is that you may do something between when you create the variable and when you output cfcontejt.

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

Just as with creating a variable with any tag, you could have instead provided a prefix scope like session, application, or server. Then you could manage that cached result any of the many ways that have long existed for caching other tag results in shared scope variables. Comments 35 Comments [ Add Comment ] Yup.

Cfxontent, I’m not clear about your question. So as for pre-processing, I’d say there’s not much chance. Maybe someone else knows better. I’ll have to try that out when we move to BD 7.

Bug in ColdFusion’s cfcontent within CustomTag execution end

The page just hangs waiting for a response, it appears. If the feature interests you, I’d recommend you report it to them as a bug. It will be regarded more seriously coming from you as a need than cfcontejt me just pointing cfcontnt an observed difference that perhaps no one would care about.

I’ll put in a report about this to New Atlanta. What should the format attribute of the cfdocument tag be set to?

In fact use a template that lets me export reports to word or excel by passing in the extension I want to use along with the other variables I need for the specific report. I use this with a particular report I generate for external users.


CF8 – CFCONTENT file missing? | Adobe Community

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?

You’re right, though, that it can be a great benefit. It requires that any attachment be written to disk first. Here’s good news though. You can, in fact, send the report out as an attachment to cfmail. You just have to write your own headers.

To get the latest PDF viewer, visit http: One thing that may trip up readers is that you use a variable called boundary, without explaining to folks what it is. 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 cgcontent used within. But I’m guessing you must have had a reason to make it a variable. Can you explain what you’re thinking is? BTW, after you answer, I am going to move cfconteny out to a new blog entry.

I think it’s too important cfcontrnt folks to miss as many, even Adobe folks, have said “it can’t be cfconteny. Of course, I will credit you for the code. I missed a critical line in mycopy-n-paste. The following should precede the listing I posted earlier: How did you get to the bottom of this! No sooner did I post a comment than I realised my error. I had simply mis-typed a couple of lines. The first 2x “– boundary ” lines I had coded as “– boundary –“.

This works a treat. Thank you, I can’t recommend it enough. Anyone got an idea how to save it to a file? This would round up this useful page! This NAME attribute is for when you don’t want cf do that. Posted By Dan G. CFDocument still does not as of 8. You should check that out. If any would ask, “but what about spreadsheets? Can anyone give me an idea how cfconhent do this. Turns out it’s not as easy as it could be. I’ll do a new blog entry on it in a moment. I have tried saveasname, mimetype but nothing seems to cr8, it still puts the.

The content however is fine because when I save it with cfconyent. I just don’t think it’s in anyone’s interest to let comments on a blog entry go off on a real tangent. Instead, I’d point you to other places where you can ask and get answers to cfconhent.


See my list of CF-based forums and mailing lists at http: That’s quite a curious cfcontnet. Be sure to explain to others what you mean, exactly is it a PDF of tabular data? Also, do you mean to ask how to do it from CF, necessarily? That’s not obvious from your question. But again, please do vfcontent offer those clarifications here.

It’s just not germane to the topic of the entry. Sorry to have to play traffic cop. Just trying to help vf8 when you present the question elsewhere.

Hope the resources offered may help. Thanks for the update. I had 2 issues with PDF attachments using cfdocument. Filesize was way too large for some reason. PDF files were being sent as. There is an option in Coldfusion 8 cfdocument tag called fontembed. It is set to yes by default, and increases file size greatly.

Check the file name of the PDF. If it has crcontent or special characters, it will cause this behavior. Use Coldfusion rereplace and replace functions to change the filename to something that doesnt have spaces or special characters.

It worked for me! What’s a CF shop to do: Yep, Bernie, that’s interesting to note.

I had not noticed it that the support matrix said only jdk I was so excited to see it run on CF and see that it could be a real option for us moving forwar And I see now where the “commercial” discussion came from. First, as I show above, it’s CL OK, I have confirmed now more specifics, about whether this issue is about “commercial” us Managed Hosting Services provided by. Charlie Arehart’s Server Troubleshooting Blog.

January 13, Charlie Arehart Related Categories: This may not be news to some, but it was to me. Thanks, Todd, and happy to help, John. That is very handy. Thanks for testing that out Charlie.

When trying to output to MS Excel I get an error. Andrew, please reread the blog entry. I have just finished getting this to work. Jon you’re a star!