Not finding what you are looking for? Request a recipe!
The XML from the application descriptor is available via the NativeApplication.nativeApplication.applicationDescriptor property. This is an XML string that can be parsed and introspected.
ColdFusion's cfdirectory tag allows you to quickly get all the files under a folder. One solution would be to simply list all the files from the source directory and then copy each to the destination. However - you have to ensure that subdirectories exist under the destination directory that matches ...
ColdFusion has native support for both creating and converting JSON data. These functions are: serializeJSON, deserializeJSON, and isJSON.
By making use of the fact that the form scope in ColdFusion is a structure, we can write code to dynamically loop over each form field and display the value.