Nice ColdFusion 9 Admin Change - Settings Summary

This post is more than 2 years old.

Earlier today I twittered about the Settings Summary page of the ColdFusion Administrator. I'm working on a general ColdFusion Admin guide for a client (set this normally, turn that off normally, etc) and I mentioned how this tool is a handy way to quickly view all your settings at once. Ryan Hartwich replied that in ColdFusion 9, they added a new "Save as PDF" option:

It works as expected, with one minor nit. It saves the file as settings.cfm, not settings.pdf. Most likely they simply wrapped the output in cfdocument and left it at that. One simple fix for that (in case folks are curious), is to place this right above the cfdocument:

<cfheader name="Content-Disposition" value="inline; filename=print.pdf">

Obviously the filename can be changed to suit.

I filed a bug report on the download issue. I'm really digging the public bug tracker.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Pinky posted on 8/4/2009 at 7:52 AM

Hi Ray,

If we give like <cfheader name="content-disposition" value="attachment;filename=""print.pdf""">.. Will it work??

Comment 2 by Esref atak posted on 8/5/2009 at 11:46 PM

I am expecting a import export feature from adobe for cf settings

Comment 3 by Raymond Camden posted on 8/6/2009 at 1:23 AM

Err, why? CARs do that now.