Questions tagged [coldfusion]

ColdFusion is a server-side rapid application development platform, implementing the dynamic general purpose CFML programming language. Please include CFML version, OS, and web server in questions.

ColdFusion is a server-side rapid application development platform from Adobe, implementing the dynamic general purpose CFML programming language.

The term ColdFusion is sometimes colloquially used to refer to the CFML language (ColdFusion Markup Language), however there are multiple independent implementations.

ColdFusion runs on the JVM using a servlet engine. Starting with ColdFusion 10, it uses a customised version of Tomcat. Earlier versions, ColdFusion 6 through 9, are bundled with JRun. (WAR installs and other servlet engines are supported.)

Tag usage

The tag has been de-synonymised from the tag to be its own distinct tag. If you are asking about general CFML concepts, be sure to use . If you are asking about a non-Adobe ColdFusion implementation, be sure to use , or tags as appropriate.

For all questions, remember to indicate which CFML engine version(s) you are running, the servlet engine (where relevant), and any CFML frameworks you might be using.

Versions

The initial release was as early as 1995 by Allaire. It was acquired by Adobe in 2005.

The most recent release, ColdFusion 2018, was released in July 2018.

CFML Fiddles

  • You can run arbitrary CFML code against both Adobe ColdFusion and Railo servers in parallel on cflive.net, though at this time there is no way to store and share code there in a traditional fiddle sense.

  • You may also load and execute any GitHub Gist (obviously only useful for CFML gists) on TryCF.com by substituting the gist-id into this url: http://www.trycf.com/scratch-pad/gist/{gist-id}, such as http://www.trycf.com/scratch-pad/gist/7926175. By creating and linking to a try-cf-wrapped gist, you can share runnable code here on Stack Overflow.

Free ColdFusion Programming Resources

14100 questions
4764
votes
9 answers

How to pass "Null" (a real surname!) to a SOAP web service in ActionScript 3

We have an employee whose surname is Null. Our employee lookup application is killed when that last name is used as the search term (which happens to be quite often now). The error received is:
bill
  • 26,883
  • 3
  • 17
  • 13
68
votes
2 answers

$.ajax context option

Episode 11 of the yayQuery podcast mentions the $.ajax context option. How would I use this option in the success callback? What I'm currently doing is passing my input parameters back to the success callback so that I can animate the id that was…
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
47
votes
8 answers

Keytool is not recognized as an internal or external command

I am trying to discover the list of trusted authorities in my Java Runtime using the instructions in this article. When I typed the command below: C:\ColdFusion8\runtime\jre\lib>keytool -list -storepass changeit -noprompt -keystore I got the…
Jack
  • 989
  • 3
  • 13
  • 24
43
votes
2 answers

Ignore SSL Certificate Error with Wget

I have the following code in my coldfusion code that works: This downloads an Excel file from the specified path using cURL…
froadie
  • 79,995
  • 75
  • 166
  • 235
41
votes
6 answers

How can I create a blank/hardcoded column in a sql query?

I want have a query with a column that is a hardcoded value not from a table, can this be done? I need it basically as a placeholder that I am going to come back to later and fill in. example: SELECT hat, shoe, boat, somevalue = 0 as…
tylercomp
  • 871
  • 3
  • 13
  • 25
40
votes
10 answers

Picking a ColdFusion MVC Framework

I am taking over a lot of the ColdFusion stuff that is lingering at our shop and they are insistent it stay on ColdFusion and that new projects in this area MUST be done in CF - basically this part is non-negotiable. I am not very experienced in CF…
naspinski
  • 34,020
  • 36
  • 111
  • 167
40
votes
3 answers

How to reload printers in coldfusion without restarting service?

This is my basic understanding of how to make a printer available to use in ColdFusion. Remote into the server running CF using the account that the CF service is running under. Open the windows control panel and add the printer. Restart the CF…
jessieloo
  • 1,759
  • 17
  • 24
39
votes
8 answers

Is there a way to 'listen' for a database event and update a page in real time?

I'm looking for a way to create a simple HTML table that can be updated in real-time upon a database change event; specifically a new record added. In other words, think of it like an executive dashboard. If a sale is made and a new line is added…
AngeloS
  • 5,536
  • 7
  • 40
  • 58
38
votes
1 answer

Once grammar is complete, what's the best way to walk an ANTLR v4 tree?

Goal I'm working on a project to create a Varscoper for Coldfusion CFscript. Basically, this means checking through source code files to ensure that developers have properly var'd their variables. After a couple of days of working with ANTLR V4 I…
Owen Allen
  • 11,348
  • 9
  • 51
  • 63
38
votes
2 answers

JavaScript Error when using Flash Forms in ColdFusion 9

I'm having a problem with Flash Forms on ColdFusion 9 that worked perfectly under ColdFusion 8. When viewing the flash form in the browser, the form elements themselves display correctly, but the data for each field is not rendered in the input…
Dan Short
  • 9,598
  • 2
  • 28
  • 53
37
votes
8 answers

Can I get a query row by index in ColdFusion?

I want to get a specific row in a ColdFusion Query object without looping over it. I'd like to do something like this: SELECT * FROM tablename But it's giving me an…
Brian Bolton
  • 3,633
  • 8
  • 35
  • 43
36
votes
7 answers

How can I write a newline in a string in ColdFusion?

Currently I'm putting newlines in strings through one of these two methods: OR
Kip
  • 107,154
  • 87
  • 232
  • 265
36
votes
9 answers

Join Two Arrays in ColdFusion

Is there a built-in way to join two arrays in ColdFusion, similar to JavaScript's array.concat()?
Yisroel
  • 8,164
  • 4
  • 26
  • 26
36
votes
3 answers

Lose EF Code First Migration when working on different TFS branches?

We are using TFS and have different branches for our Dev. in the branch A we made a migration to change a column size in the branch B we made a migration to add a new table. This branch doesn not know about the branch A modification !! both…
33
votes
2 answers

ColdFusion SOAP response with attachments

I am using Coldfusion9 to interact with a 3rd party SOAP service with which I need to both send and receive SOAP with attachments. I am having no issue in receiving the SOAP which may or may not have binary attachments by using ToString() around the…
Phil Rasmussen
  • 635
  • 1
  • 7
  • 20
1
2 3
99 100