Articles with tag : cfml tag/function
Quick hit blog post here, did you know that ColdFusion can generate CAPTCHA images for you? While there are, of course, other CAPTCHA image generators & frameworks out there, if you're just looking for a simple solution, you've already got one built ...
The HTML to PDF conversion functionality allows developers to convert HTML files, strings, or URLs into PDF documents. The feature proves beneficial when you need to provide website content in a portable, easily shareable format. Reports, invoices, a...
GraphQL is a query language for APIs and a runtime for executing those queries with your existing data. It provides a more efficient, powerful, and flexible alternative to REST. In ColdFusion 2023 we are providing a native method of consuming and sen...
An Immediately Invoked Function Expression is a good way at protecting the scope of yourfunctionand thevariableswithin it. The term ‘scope’ basically just means where it can be accessed from. For example, if you were to add two numbers and log to con...
Last year, Microsoft published their upcoming changes to Exchange Web Services (EWS) API for Office 365 https://techcommunity.microsoft.com/t5/Exchange-Team-Blog/Upcoming-changes-to-Exchange-Web-Services-EWS-API-for-Office-365/ba-p/608055 And I belie...
I've not seen this posted before, apologies if it's already been discussed! Our team have identified a bug when using QueryExecute and named query parameters. This doesn't appear to affect all installations of ColdFusion, as it doesn't affect my mach...
I am showing the custom exception for the error.For every exception it's working proper.The problem is when i change some no's to * operator in the url link it must show the custom exception.But it's showing the system generate exception. please help...
This is my code for which i have written to encript..bt instead of AES i need to give my value..i mean i should generate secrate key in the form of surveyId_InviteId ....help me with this this is my code:
I need to retrieve multiple email which is provided in the form..And for every mail i need to create unique id.please help with this.
My local server's timezone is set to UTC-8 - https://www.screencast.com/t/1qqid95lR3vI need to create epoch time for UTC so I'm trying to use the following function: #DateDiff("s", "January 1 1970 00:00:00", dateconvert("local2utc", now()))# The dat...
Using a CFC in AJAX is easy. Just make sure to pass your arguments in and use the arguments scope within the cfc and then use them in a cfproc param within your code. This way you can pass multiple parameters into your sql stored procedure. The benef...
Hi, Wanted to start this post to see if the community has suggestions for CF integration to get photos from Google Drive or even other data from Google Drive? Just wanted to see how others are doing this or if anyone can post examples of how you use ...
My previous two posts looked at intersection of arrays and Union and diff of arrays. This time I'm going to look at finding the symmetric difference. So first, what the heck is a symmetric difference? It's sometimes called a disjunctive union A △ B a...
If you have two arrays of values and you want to know which values are common to both then you are after theintersection of the two sets. You may have seen this written asA ∩ B. There isn't a native CFML method to do this for you, but fortunately the...
Everyone knows that you should be using CFQUERYPARAM. It offers many benefits in the areas of security, data validation, and enhanced performance for your applications. In fact, Adobe recommends that you use the CFQUERYPARAM tag within every CFQUERY,...