The official community for ColdFusion.
Recently active
Hi All,What is the difference between #VARIABLES.ID# and #ID#?Thanks!John
The advertising for ColdFusion Builder 2016 clearly states it has a Tag Editor. It's on this page: Features | Adobe ColdFusion Builder Where is it? I tried every keyboard shortcut. I've looked all over the help files. I can't find it. The feature page reads:Tag editorEasily maintain existing code and minimize code errors by identifying required tag attributes and assigning values with the tag editor.Is this feature in the program or is it a case of false advertising? This claim of having a Tag Editor goes back to CF Builder 3. It did not have one either yet it was advertised as having one.
Hello,I'm trying to use the same method that I would typically used to create a anchor text in ColdFusion that I would do using HTML. I knew to use ## in ColdFusion but the link pointing to the anchor is giving me a 404.<a href="mylink"> Skip </a> -- This links returns a 404 <a name="##mylink"> </a>How do I create an anchor link that will point to a particular section on a new page?I'm trying to create a "Jump to Content" or "Skip Block Content" on my page and figured using an anchor link would be the best solution. Thanks.
Hello, all,I was just shown that an application written by someone else over ten years ago is working fine under CF9 and CF10; but it's breaking in CF11.I have something like:<cfinclude template="../myComponent.cfc" />Now, in myComponent.cfc, I have a function:<cffunction name="getThisAttribute" returntype="string" output="no"> <cfargument name="part1" /><cfargument name="part2" /> ... <cfreturn thisValue /></cffunction>Under CF11, in the first page (again, this works in CF9 and CF10), if I do the following:<cfset thisVar = getThisAttribute(part1,'part2') />I get "getThisAttribute undefined". Am I going to have to completely re-write how all this works if we switch to CF11???V/r,^_^
Why, when I initially launch Administrator, am I seeing this "double NavBar"? When I select an item, it goes away. It returns when I logout and then log back in. I uninstalled and reinstalled, but still have this issue. Any assistance would be most appreciated.
I'm writing an application which needs to store a time interval as a value in an Oracle database. There is a datatype INTERVAL HOUR TO SECOND that accepts properly formatted varchar2 string values as such:insert into ar_tint (duration)values (interval '29:03:20' hour to second)The above SQL executes properly inside a <cfquery> block. Note that the argument must be in single quotes (per Oracle's own documentation on this subject), double quotes will throw an ORA-00917 'missing comma' error.As this argument is a string, I expected the following to work after a <cfset igg='29:03:20'>:values (interval <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value='#igg#'> hour to second)What actually happens is that Oracle returns the following:Error Executing Database Query.ORA-00917: missing commaThe error occurred in D:/webroot/path/to/interval.cfm: line 2119 :20 : INSERT into ar_tint (duration)21 : values (interval <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value='#igg#'> hour to
I am using CF Server 11 and CF Builder 3.Everything was fine, but suddenly I got a message "The 127.0.0.1 page isn’t working". I get a similar message if I try to access the CF Administrator.I am using Apache Tomcat, 11.0. listening on port 8500 and Opera 41.0, Windows 10, 64 bit.I have checked firewalls but found no blocking. According to the message at the bottom of the CF Builder Page, CF Server is running.Anyone any ideas as to what could have happened? Thanks in advance for comments.
I created subdomains on my server for development part of my website and the cfajaxproxy is working great on the live version and on my subdomain dev.mydomain.com. I created a new subdomain name dev2.mydomain.com and now the cfajaxproxy isn't working on that one. I've check my admin panel and all but I'm enable to find anything that can change the configuration specificaly for cfajaxproxy.Anyone have a clue about that ?Thanks all lot !
Hello, I get the attached error when loading CF Builder 2016. I have tried unistalling/reinstalling but it does not show up in add/remove. I also updated Java to the latest release thinking it might have been that since it is the first item listed in the error. Machine is a newer I7 with Windows 10(anniversary update). Wanted to check out CF Builder(longtime DW user). Any ideas on what I can do?
I'm getting the following error indexing my collection. "SOLR Advance Feature is not available in this edition of ColdFusion server." I was able to successfully setup the data handler mappings and reload the collection. I have Coldfusion Server 11 Standard. According to Adobe's website Solr data handler is a standard feature. Features | Adobe ColdFusion Standard.Has anyone got the import data handler to work in the standard edition?
Hi -I installed CF10 Enterprise on a Windows 2008 R2 Enterprise 64-bit system.I updated with the mandatory cf10_mdt_updt.jar updateI applied Update 21 hotfix_021.jarAfter installation, I used the Web Configuration Tool to remove 'All IIS Sites', and allowed the server to be restarted to complete the removal.Then I re-added 'All IIS Sites'. This was to ensure that the wsconfig/1/isapi_redirect.dll was updated to the 8/19/2016 version.After this, almost everything works correctly, except for PDFs. The server returns the correct number of pages, but all are blank, when I try to display this way (angle brackets removed): cfcontent type="application/pdf" reset="yes" cfoutput#toString(request.printable.viewOutput)#/cfoutputI have other code which can display PDFs, so it is not iText doing this. It might be CF cutting off binary content, which was a problem earlier in the CF10 saga, but I thought this wa
Dear All,i try to create a datasource from CFIDE. but i got this error. Please check image belowI already download the connectorFYI, i installed the ColdFusion at RedHat Enterprise Linux 7.2 ppc64 and the version of mariadb is 5.5Really appreciates for the big help
Hey Everyone,I have an unfortunately situation that not ideal where a development version of a website is on the same server as a production version of that same website. To make matters worse, both websites are running off the same ColdFusion instance. For the sake of argument, let's assume my client has the latest standard version of ColdFusion. Because it is not enterprise, I do not think I can run multiple instances of ColdFusion as separate services where I could have Trusted Cache enabled for once service and disabled for the other service. If I enabled Trusted Cache, it would be server wide correct? All websites that use the ColdFusion instance would be effected by the trusted cache. This is not ideal for development where we need to see changes right away. My question is this: has it ever been proposed to have an exception list for Trusted Cache? For example, all ColdFusion files that start with either example.com or www.example.com could be excluded from the Trusted Cache? Thi
I'm attempting to call the smartsheet.com api and read the JSON data from a list sheet request. Im new to API's so I'm certain I'm missing much with my code.Here is what I have so far:<cfscript> apiURL = "https://api.smartsheet.com/2.0/sheets"; apiToken = "xxxxxxxxxxxxxxxxxxxxxxxxx";</cfscript><cfhttp url="#apiURL#" method="GET" result="httpResp" timeout="120" charset="utf-8"> <cfhttpparam type="header" name="Authorization" value="Bearer #apiToken#" /></cfhttp> However I do not receive the desired response: I was attempting to use the sample provided to retrieve the data:SmartSheet API 2.0 Example Request:curl https://api.smartsheet.com/2.0/sheets -H "Authorization: Bearer ACCESS_TOKEN"Example Response:{ "pageNumber":1, "pageSize":100, "totalPages":1, "totalCount":2, "data":[ {  
What is the best method to share variables like the following struct among several cfcs in the same directory of a RESTful API? There are several cfcs but they all use the same generic error codes.<cfset RESTErrorCodes={801={detail="Configuration Error",message="Incorrect API Key",type="RestError"},802={detail="Database Exception",message="No Records Found",type="RestError"},803={detail="Usage Error",message="Required argument missing",type="RestError"}}>Any help would be greatly appreciated!
When displaying text using CFDocument in PDF format, if the text contains a less-than symbol ('<') NOT followed by a space character, the rest of the text does not display.For example, this: We reassured them that since it is <2cm in projected maximum diameterWill be displayed like this: We reassured them that since it isIt's as if the PFD conversion considers any less-than symbol not followed by a space as the start of a tagSimple demo:<cfset theText="We reassured them that since it is <2cm in projected maximum diameter"><cfdocument format="pdf"><cfoutput>#theText#</cfoutput></cfdocument>Now I realize that we could fix this by using the HTMLEditFormat() function on the text but this occurs in many locations and would require quite a lot of work. We are currently using
This page clearly states that Coldfusion Builder 3 has a Tag Editor. How do you open it? It's not on the sad excuse for a tag menu and Ctrl T, Ctl Alt T, Ctrl Shift T don't do a thing. The description of the tag editor is the 7th item down in the first column. http://www.adobe.com/products/coldfusion-builder/coldfusion-builder-features.html
I have a query which has run well on our old server. However we've upgraded to CF2016 and yet when I run a query of a query I get no results.<cfquery datasource="travcomus" name="firstquery"> SELECT * FROM tablename</cfquery>Followed by<cfquery dbtype="Query" name="secondquery" > select * from firstquery</cfquery>Any ideas?
Hi all,I am new to cold fusion and i am facing a problem which has been pointed out by our security team on an application wirtten in cold fusion:We have an application written in cold fusion, for which the login page is lets say the below -https://xxx.com/vendor/index.cfmNow the vendor is the root directory and it has subdirectories containing the cfm files. So if i do https://xxx.com/vendor/common/abc.cfm , i am able to access the abc.cfm which is in the common folder inside the vendor directory. Now the problem is that if i do https://xxx.com/vendor/common/ , it shows meon browser the list of files present in the common directory, which is not acceptable.. I can see that putting index.cfm in the common folder resolves the problem by redirecting me to the index page. But since there are approximately 120 subdirectories , is there a way to do this in a better way other than putting an index.cfm in every folder ? I tried the missing page handler on the server colsole but no luck. Any a
HelloThere is an order entry date: order_create_date.I am able to display the aging by: #DateDiff("d", thequery.order_create_date, nowtime)# I now need to stop the aging clock ticking with: order_onhold_date,And resume the aging clock with: order_offhold_dateSo it would be something like #DateDiff("d", thequery.order_create_date, nowtime)# minus #DateDiff("d",thequery.order_onhold_date,thequery.order_offhold_date)#?Any help would be appreciated- Thanks
Dear All,i already success to install ColdFusion 2016 on RedHat Enterprise Linux 7.2 ppc64. but when i try to start the ColdFusion services, the services failed to start. Please see the image belowFYI, for the installation i run ./ColdFusion_2016_WWEJ_linux64.bin LAX_VM /opt/java/bin/javaReally appreciates for the big help
Dear All,I have some issue on installing ColdFusion 2016 on RedHat Enterprise Linux 7.2 ppc64. when i try to run the installer it's always saying "JRE libraries are missing or not compatible".anyone can help me on this case? what am i missing here?FYI, i already try to do the installation using 32 bit and 64 bit and the result is always the same.Really appreciated for this big help.
I have a web application that generate Excel Spreadsheets with formulas, colors and formatting.If the XLS generated by the application is opened from an Office 2013, we randomly loose the formatting (and colors) in the middle of the page. (It starts corrently but at some point, the formatting seems to stops for an entire column or two).It works well with Office 2010 so it looks like there is some sort of imcompatibility issue.Note. I'm using coldfusion 9
I am using Cold fusion 9 and have to do an oauth2 call. I have never used cfc files - but there is example code using cfc's so I'm giving it a try (and failing) - but I don't know whether I'm failing with cfc or failing with the call.My application.cfc and oauth2.cfc are in the same folder...My application.cfc file is:component { this.name = "myApplication"; this.applicationTimeout = CreateTimeSpan(10, 0, 0, 0); //10 days this.datasource = "xxxxx"; Request.dbusername = "xxxxx";Request.dbpassword = "xxxxx";request.dsn2='xxxxxx';Request.key="xxxxxx";request.key4="xxxxxx";request.key8="xxxxxxxxx";request.dsn = 'x'; this.sessionManagement = true; this.sessionTimeout = CreateTimeSpan(0, 0, 30, 0); //30 minutes this.customTagPaths = [ expandPath('/myAppCustomTags') ]; this.mappings = { "/foo" = e
Dear Sir / Madam,CF license - how long will take to be delivered
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.