Write component inside CFSCRIPT

Hello All, How do I place the below codes inside CFSCRIPT entirely please.  The codes work fine, but I ask to refactor the cfc to be cfscript entirely my sample.cfc looks like this, component{   remote function myFunc()  output= ‘false’ returnformat= ‘json’ {     var myQry= queryExecute(“SELECT aColumn FROM aTable”);     return myQry   } Thank you very much. The post Write component inside CFSCRIPT appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

Special offer: upgrade to ColdFusion 2021 from CF2016 or earlier, saving perhaps thousands of $$

If you're running CF2016 or earlier, now's your chance (though the end of the year Feb 28, 2023) to save potentially thousands of dollars in upgrading to the latest current version, CF2021. Intergral, the folks who make the FusionReactor monitoring tool and service, are again offering a special deal of 25% off to upgrade CF2016 or earlier to CF2021 (a deal which even Adobe does not offer). Read on for more details. [More]

From: Charlie Arehart - Server Troubleshooting

Solving “Failed Signature Verification” when downloading CF updates while using Java 11.0.17 or later

If you get this error while downloading a CF update, especially in CF2021, there's a solution for that. The post Solving “Failed Signature Verification” when downloading CF updates while using Java 11.0.17 or later appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

How to solve "Failed Signature verification", for downloads of ColdFusion updates--since Oct 2022

If you try to download a CF update using the ColdFusion Administrator AND you get an error, "error occurred while installing the update: Failed Signature Verification", there are both a couple of possible explanations (one of them new), both with fairly simple solutions. [More]

From: Charlie Arehart - Server Troubleshooting

Social Media Revisited

About a year I posted that I had deleted both my Twitter and Facebook accounts.In March, my wife & I visited friends and family in England (for the first time in three years) as my mother had been diagnosed with AAA (abdominal aortic aneurysm) and it had grown substantially -- the doctor has given her "months" to live, although she's already lasted longer than that!

From: Sean Corfield: An Architect's View

Why would I use an underscore as an argument to an arrow function?

{ // do stuff } This is weird syntax; what does it mean? First, you can create an arrow function in a few different ways. This is how I might do it commonly: (arg1) => { // do stuff } I like using parenthesis to surround the arguments. But, they are not required. If you only have a single argument you can leave out the parenthesis: arg1 => { // do stuff } Then, for an arrow functions where you don't care about the arguments, you can use a single character variable, like what I wrote about earlier this week. Use the underscore ('_') like what we started with: _ => { // do stuff } This is intended as short hand for saying "I don't care what the argument is; I'm going to ignore it inside this function." My personal feeling is that the short hand does not communicate that, at least not universally. As such my preference is to use parenthesis with no variable input into the function: () => { // do stuff } The reason for the short hand is that it is one less character to type. But, I'd argue that the latter approach with parenthesis is more readable. I'm not in a position where I have to cut down on keystrokes that significantly. How about you?

From: Jeffry Houser's Blog

Join us, Online CF Meetup, Oct 27: “300th Episode: A look back and a new direction” with Charlie Arehart

Come join us at the Online ColdFusion Meetup session on Thursday, Oct 27 2022, at 12p US Eastern time (UTC -5). The presentation will be: “300th Episode: A look back and a new direction”, with Charlie Arehart https://www.meetup.com/coldfusionmeetup/events/289332692/ The meeting will be recorded, as have been all 299 previous Online CFMeetup sessions, available at recordings.coldfusionmeetup.com, as well as via our Youtube playlist. Finally, if you may wish to present at the meetup yourself, we’d love to have you. For more on that, please […] The post Join us, Online CF Meetup, Oct 27: “300th Episode: A look back and a new direction” with Charlie Arehart appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

Modernize or Die® – CFML News Podcast for October 25th, 2022 – Episode 169

Gavin and Scott Steinbeck hosts this week’s CFML News Podcast To listen or subscribe to the podcast visit our site Or watch the video replay on youtube They discussed AI taking over the world with What the Diff and Github Co-Pilot, and the last chance for Hacktoberfest 2022. They talked about MasaCMS updates, Lucee Image Extension Beta, and Adobe updates and the new refreshed installers. They announced a the 300th episode of the Online ColdFusion Meetup this week, as well […] The post Modernize or Die® – CFML News Podcast for October 25th, 2022 – Episode 169 appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

Upcoming Adobe webinar on preview of CF2023, date and title change

Adobe had announced some weeks ago two upcoming webinars, one as a preview of CF2023 (originally set for Dec 22), and the other on mobile apps with CF and Monaco (originally set for Nov 23). If like me you may have signed up for them, note that sometime recently the dates have been swapped. (Also the name of the preview session has been changed, from “Winter Holiday Special: A preview of ColdFusion 2023” to instead refer to the product code-name […] The post Upcoming Adobe webinar on preview of CF2023, date and title change appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

How Long Has Your ColdFusion Server Been Running?

Someone asked on the CFML slack recently how can you find out how long your ColdFusion (or Lucee) server has been running via code. How long has the server been running? createObject("java", "java.lang.management.ManagementFactory").getRuntimeMXBean().getUptime() This approach uses Java's Management Factory Runtime Bean to get the number of milliseconds since the server started. What date / time did the server start? The Runtime Bean in Java, also has a getStartTime() function that returns the time the jvm was started as a timestamp. start_time = createObject("java", "java.lang.management.ManagementFactory").getRuntimeMXBean().getStartTime(); java_date = createObject("java", "java.util.Date").init(start_time); writeOutput(dateTimeFormat(java_date, "long")); Here's a trycf snippet for both examples. Finally someone pointed out that on licensed ColdFusion server you can actually use the variable coldfusion.server.expiration to get the time that the server started. Charlie Arehart has a blog entry all about that approach. The blog entry was from 2006, but it apparently still works! That approach might not work in all cases or on Lucee however, but it really simpler than the approach I have here.

From: Pete Freitag's Homepage

The Summit That Was – Captured for your convenience

On the brightly-lit lanes of Las Vegas, inside the bowels of The Mirage, Adobe ColdFusion hosted its tenth Annual ColdFusion Summit on 3-4 October. Shameer Ayyapan hosted the ColdFusion Keynote on Day 1 highlighting the state of Adobe ColdFusion as well as its release plan Joel Cohen, acclaimed writer of The Simpsons was the other highlight speaker amidst a veritable roster of eminent speakers and experts. For over two days, they imparted knowledge and insights to CF fans from across […] The post The Summit That Was – Captured for your convenience appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

New updates released for Java 8, 11, 17, and 19 as of Oct 18 2022

Here's a heads-up that some will want to hear about: there are new JVM updates released today (Oct 18, 2022) for the current long-term support (LTS) releases of Oracle Java, 8, 11, and 17, as well as the new interim update 19. (Note that prior to Java 9, releases of Java were known technically as 1.x, so 8 is referred to in resources below as 1.8.) TLDR: The new updates are 1.8.0_351, (aka 8u351), 11.0.17, 17.0.5, and 19.0.1 respectively). And as is generally the case with these Java updates, most of them have the same changes and fixes as each other (though not always). Update: After posting this, I learned of some rather surprising implications of a new feature of the new JDK installer. For more, see a new section on this below. Oracle calls them "critical patch updates" (yep, CPU), but they are in fact scheduled quarterly updates, so take that "critical" nomenclature for what it is. For more on each of them, including what changed and the several security fixes they each contain (including their CVE scores regarding urgency of concerns), see the Oracle resources I list below. And if you may be skipping to this from a JVM update from before Apr 2021, I share also a bit more info as well as for users of Adobe ColdFusion (including where to find the updated Java versions from Adobe, what JVM versions Adobe CF supports, and more). For some folks, that's all they need to hear. For others, read on for topics like: Finding more info on these Oct 2022 Java updates News for my CF audience (getting the Java updates from Adobe or Oracle, how to update, why you should NOT for now use Java 17 with CF, etc) Should you apply the update? how soon? Beware a change in the Oct 22 JVM update regarding Java no longer trusting jars signed with SHA-1 Beware a change in the April 2021 JVM update, if you may be skipping over it Wrapping up, getting more help [More]

From: Charlie Arehart - Server Troubleshooting

Modernize or Die® – CFML News Podcast for October 18th, 2022 – Episode 168

Gavin and Brad hosts this week’s CFML News Podcast To listen or subscribe to the podcast visit our site Or watch the video replay on youtube: They discussed Trying out Github Co-Pilot, Hacktoberfest 2023. They talked about Adobe updates and the new refreshed installers, releases for Spreadsheet-CFML, and reminded you about recent releases of CBElasticSearch, and Fusion Reactor. They announced a new set of Ortus Webinars, Ortus Office Hours, Ortus Book Club, and Koding with the Kiwi. They also talked […] The post Modernize or Die® – CFML News Podcast for October 18th, 2022 – Episode 168 appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

ColdFusion 2021 Update 5 CRASH

I run Update 5 and coldfusion was not able to restart. I had to install manually all packages with cfpm, administrator restarted but I’m not able to enter in packages area… What’s happening??? The post ColdFusion 2021 Update 5 CRASH appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

Rerunnable data update scripts for Microsoft SQL Server

We can implement a SQL Server equivalent of MySQL/MariaDB's "INSERT IGNORE" using MERGE INTO as follows...

From: Steve Neiland: Blog of a Web Developer

ColdFusion 2021 "refreshed" installers available (with update 5)...but only in one place for now

Here's some surprising news: Adobe has released a "refreshed" installer for CF2021, which includes update 5 (which came out last week) built-in. Did you know about this? You'd be forgiven if you had not heard, for reasons I will explain. And I'm glad to share the news, though it's a good news/bad news sort of thing (just like with the update itself. More on that in another post to come.) TLDR: these new "refreshed" CF2021 installers are (for now) available only here: here. As for information ABOUT the refreshed installers, here's the news in brief (the good and the not so good): Good news: there is a new full installer for CF2021, for each of Windows, MacOS, Linux, and Solaris. Not good news: there are not new "zip" installers, at least for now. Good news: these "refreshed" installers includes update 5, so if you are installing CF2021 newly on a machine, that would be easier than getting an older installer and updating it. Not good news: the installer implements only Java 11.0.11, while the version available as of the release of update 5 last week was 11.0.16.1, from July 2022 Some odd news: Adobe didn't mention the availability of this refreshed installer in the CF2021 update 5 technote, nor their blog post or forum post announcing update 5. The most odd news: again, the refreshed installers are only available for download from one place currently, the CF "downloads" page. More on that below. Bad news for those still using CF2018: while there was indeed the update 15 released also last week, Adobe has NOT offered such a refreshed installer for CF2018 and likely will not. Read on for more. [More]

From: Charlie Arehart - Server Troubleshooting

Slides from My ColdFusion Summit Presentation on Creating Complex Serverless Workflows with CFML at the Center

This year marked the tenth anniversary of the Adobe ColdFusion Summit. It was great to get back together with so many familiar faces (and friends!) in person. I’ve attended all of the ColdFusion Summits and, I think, have spoken at all of them as well. I spoke at Summit this year about my favorite topic: ColdFusion and Amazon Web Services.

From: Brian Klaas

Creating a Mailing List with Mailersend

I've long since wanted to add a mailing list to the blog as a way that people could directly show interest in what was being posted. I did however have the big provision that I didn't want to manually be creating emails to send out. I wanted to automate it. Off the back of my recent release process improvement I realised that I could finally start to build this feature.

From: Michael Walter Van Der Velden

ColdFusion 2021 and 2018 October Security Updates

We are pleased to announce that we have released the updates for the following ColdFusion versions: ColdFusion (2021 release) Update 5 ColdFusion (2018 release) Update 15 In these updates, we’ve fixed a few security and feature-specific bugs, along with other libraries. We’ve also introduced support for M1 macOS. We’ve also refreshed ColdFusion 2021 installers. You can find the refreshed installers on the ColdFusion downloads page. For more information, see the tech notes below: ColdFusion (2021 release) Update 5 ColdFusion (2018 […] The post ColdFusion 2021 and 2018 October Security Updates appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

Rerunnable Data Update Scripts for MySQL/MariaDB

Using the INSERT IGNORE statement you can easily manage reference table's data using re-runnable sql scripts.

From: Steve Neiland: Blog of a Web Developer

CFSummit 2022 Recap

Well, that’s another CF Summit in the books, and the first in-person event in 2 years. It was an absolute joy and thrill to be able to see all of you that made it to the event this year in person. I just wanted to take a moment and re-live a bit of the fun, give thanks to folks and give some updates. We started things off on Monday morning, 9am, with a heck of a thing: me on stage, […] The post CFSummit 2022 Recap appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

Presenters welcome at the online CF Meetup

This is a call to anyone who may have a CF-oriented presentation: we would welcome you presenting it on the Online ColdFusion Meetup. [Edit] This post originally had been addressed to speakers at last week's great Adobe CF Summit. Adobe had been unable to arrange streaming or recording of the dozens of presentations. But it turns out that at the same time I was writing it, Adobe was posting that they will be asking Summit presenters to present on webinars they will arrange. As such, I withdraw here my request to host those presentations, as I certainly don't mean to lead to any confusion over things. Still, I will leave up this post as a general offering to ANY presenters, on of course ANY CF topics. :-) Read on for more. [More]

From: Charlie Arehart - Server Troubleshooting

ColdFusion Builder for VS Code

The next Hawaii ColdFusion User Group meeting will be discussing the new Adobe ColdFusion Builder extension for VS Code. The meeting will be on October 28th, at 12:00 pm (HST) Mark Takata, the Adobe CF Technical Evangelist for ColdFusion will give a presentation on the new ColdFusion Builder extension for VS Code. During his talk he will discuss: Access built-in support for IntelliSense code completion, better semantic code understanding, and code refactoring. Identify security vulnerabilities and maintain the integrity of […] The post ColdFusion Builder for VS Code appeared first on ColdFusion.

From: Adobe Coldfusion Blogs

Building a Modern Release Process for Blog Posts

One of the earliest articles I ever wrote was about the posting process that my blog posts followed. It used a local typescript script that accessed the mongoDB database and added/updated a blog post. It was simple and good enough for the features that the site had at that point. I've been using and expanding that posting process for a while now, but I find myself at a crossroads... OG Images are being generated and stored the first time they are accessed (which takes a while), My local machine is taking a good 20 or so seconds to run all the local release steps, and I find myself wanting to add new features such as a mailing list to announce new posts. I need to start running this on a server so that I can start running these steps in parallel. That does mean, however, that I'm going to have to rebuild the posting process from the ground up.

From: Michael Walter Van Der Velden

Adobe CF Summit 2022 Recap

The Adobe CF Summit 2022 is done! I'm down in the hotel lobby waiting for my ride to the airport which means it's officially time to work on my conference recap! Honestly I can't think of any reason that this conference wasn't a huge success for everyone involved. I saw no clunker sessions, no tech issues, overall a very smoothly run event!

From: South of Shasta: Software Development, Web Design, Training