Feb
9

Tip : Show hide columns in cfdump

Author nerdscubecom    Category Coldfusion     Tags

Small tip for the day, In Coldfusion MX7 the CFdump was pritty much dump that it just do the variable dump and nothing more.

CF8 dump is much more capable like writing the dump out to file like i did in my last blog , plus you even can control the fields that you need to show or hide during the dump. This could pretty much save time when dumping big queries which contains long columns

CF8 cfdump tag has 2 attributes called Show and Hide . You can use a comma seperated list of columns which you need to show or hide from the dump . Thus you can indicate which column of the query to be shown and which should not.

<cfdump var="#aquery#" show="colA,colB">
<cfdump var="#aquery#" hide="colX,colY">
<cfdump var="#astruct#" show="keyA,keyB">
<cfdump var="#astruct#" hide="keyX,keyY">

Post comment

Connect me

Twitter

Recent Posts

Categories

Blogroll

Tags

Adventure Android augmented Augumented avatar cf8 CF9 cfdump cfquery Coldfusion Coldfusion programming technology features new compare comparison debugging Definitions design Digitization dynamic element creation form future getmetadata HTML Inspirations Iphone Javascript Jquery movie Movies mustwatch mx7 new feature programming project Project Management Reality realtime si-fi Technology tip top tricks validation virtual world web development

Archives

RSS CF Libs

  • forceBoolean September 5, 2010
    Returns a boolean 1/0 from anything, including empty strings. […]
  • DeMoronize September 2, 2010
    Fixes text using Microsoft Latin-1 "Extentions", namely ASCII characters 128-160. […]
  • readPropertiesFile September 1, 2010
    Load and parse a .properties file into a struct […]
  • lastDayofWeek August 30, 2010
    Returns last day of the week, assumes Saturday is the last day. […]
  • sitemapPing August 26, 2010
    Ping multiple search engines with your sitemap.xml file and get the server response. […]
  • isURL August 5, 2010
    A quick way to test if a string is a URL. […]
  • indentXml July 30, 2010
    indentXml pretty-prints XML and XML-like markup without requiring valid XML. […]
  • verifyMailServer July 1, 2010
    Verifies a mail server connection. […]
  • getFunctionHint July 1, 2010
    You give me a function and I return the hint. Useful for demo and documentation pages. […]
Get Adobe Flash playerPlugin by wpburn.com wordpress themes