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 developer advocate for HERE Technologies. He focuses on JavaScript, serverless 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