Questions tagged [coldfusion-2018]

ColdFusion is a server-side rapid application development platform, from Adobe. ColdFusion 2016 is the current release of CF released on July 12, 2018.

Language New features in ColdFusion 2018

  • Asynchronous programming, using Futures
  • Abstract components and methods
  • Final components, methods, and variables
  • Optional semicolons
  • NULL support
  • Numeric member functions

Administrative New features in ColdFusion 2018:

  • Performance Monitoring Toolset
  • REST playground capability
  • Modernized Admin UI
  • Distributed cache support (Redis, memcached, JCS)

See: https://helpx.adobe.com/coldfusion/using/whats-new.html#WhatsnewandchangedinColdFusion2018release

124 questions
1
vote
0 answers

Returning string with diacritics

I want to use FW/1 to return a string that looks like this: "Wüf!" framework.renderData().data("Wüf!").type( "text" ); Note that this is not normal FW/1, but REST When I run this I get Wüf! Postman reports in the headers, Content-Type…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
1
vote
0 answers

Percentage of Each Stack over All Stacks

Is there a token that shows the percentage of each stack in relation to the whole chart? In the Chart below, I am using %pper, but it is giving me the top node over the node total for the chart. %pper works fine for non-stacked bar charts, but…
Mike
  • 63
  • 6
1
vote
2 answers

SAML implementation using OneLogin in ColdFusion throwing error

As part of learning how to integrate OneLogin SSO in my ColdFusion app I pulled this git repo - https://github.com/GiancarloGomez/ColdFusion-OneLogin and set up locally. But, while sending the auth request to OneLogin we are getting an error…
user3742125
  • 617
  • 2
  • 9
  • 31
1
vote
1 answer

QueryFilter() return array of structure in coldfusion2016. But it's should return query

Here I'm working with QueryFilter() function. I've go through this function usage & return type. The adobe docs said it's return query. But sample code return array of structure in coldfusion2016. I've tried the same code in cf2018 but it's return…
Kannan.P
  • 1,263
  • 7
  • 14
1
vote
1 answer

ColdFusion 2018 - Requests Multiply Executed

with a new project we encountered some strange behaviour on our ColdFusion application. Whenever a single request is initiated from the browser, the code of the cfml-templates is executed multiple times. Upon viewing the corresponding log-files we…
Quirynn
  • 44
  • 6
1
vote
2 answers

ColdFusion 2016 and MongoDB 4.0.13

I am trying to connect ColdFusion 2016 (local machine developer mode) to MongoDB 4.0.13 (server). I installed mongodb-driver-core-3.8.2.jar, bson-3.8.2.jar and mongodb-driver-3.8.2.jar into my lib folder. when I try to run this code, it never…
1
vote
1 answer

CF2018 (HF7) IIS / W2K16 - cfoutput in email templates is not rendering

We have 3 servers – production (CF2016 HF4), staging (2018.0.07.316715) and I have a local install on my Windows 10 desktop (2018.0.07.316715). All were setup following the lockdown guide. We have thousands of e-mail templates stored as .htm files…
Steve
  • 2,776
  • 3
  • 25
  • 44
1
vote
0 answers

JSON parsing failure: Unexpected end of JSON string in CF18

I have a JSON string I'm serializing with serializeJSON() and I'm getting it with a cfhttp but when I use DeserializeJSON() I'm throwing an error "JSON parsing failure: Unexpected end of JSON string".
Stephen Sharpe
  • 167
  • 1
  • 8
1
vote
3 answers

Executing a batch file using CFEXECUTE

I tried to run test.bat file using cfexecute. It shows timeout error after loding for sometime. The output file is blank. But when i double click the test.bat file it works fine. My code is this,
1
vote
1 answer

How to output entire dataset but "focus" on a specific known row number

I am currently outputting a dataset as an HTML table with each record linked to a page where that record can be edited. After the edit process the user is taken back to the list with the first record being the one they just edited. Now the client…
Jim Butchart
  • 167
  • 1
  • 9
1
vote
2 answers

Typed array vs untyped array in ColdFusion

I have the following code: data = ['2342bas', 'asqwerewq', '12314', 12421, 1.1]; newdata = arrayNew['Numeric'](1); for (item in data) { newdata.append(val(item)); } writedump(newdata); newdata = []; for (item in data) { …
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
1
vote
1 answer

Trying to create an array mixed with data from different mysql tables

Basically i have few tables in MySql and im trying to create an array mixed with data from diferrent tables. I'm using AJAX to get the data from CFC. I've tried using different ajax requests to get the data from different tables but thats making my…
vampyr
  • 79
  • 6
1
vote
0 answers

Replacement for cftree & cfmenu in coldfusion 2018

I knew, cfgraph & cfgraphData has been deprecated from cf11 and we had a alternate solution as cfchart,cfchartseries,cfchartdata. Likewise what is the alternate solution for cftree & cfmenu ? I hope that's also deprecated in latest version. Can…
Kannan.P
  • 1,263
  • 7
  • 14
1
vote
1 answer

Out of memory increment operator with strange syntax

This ColdFusion will compile and run. And later causes a GC Limit. Results {"status":500,"error":"Internal Server Error","message":"GC overhead limit exceeded","timeStamp":1570564484803,"path":null} What is going on? Ref:…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
1
vote
1 answer

Enable Null Support issue in ColdFusion 2018

I'm setting up ColdFusion 2018 (with Update 5) and am having an issue - it seems that "Enable Null Support" option in CF Admin does nothing. I have some API results (from a 3rd party api) that can return null values - eg; json { "FirstName":…
WPS
  • 13
  • 2
1 2 3
8 9