Can cold fusion do this
Can a page be created that sets a field that displays
information located in an excel spreadsheet located on a different
server?
Basically there is a cell within an excel spreadsheet that
gets updated daily, and I want the coldfusion to reflect the change
real time. Not sure if this is possible, but if it is that would be
great!
the gobblygook is the encoding of the xls file. i dont think
cf can read
or understand this in any way, so i dont think you will be
able to do
what youre trying to do. the data for cf either needs to be
in a db, in
a text file (plain txt not xls) or hardcoded on a page.
you could save to a csv text file, which you could read into
cf, find
the date with listgetat, but that would be an extra step
every time you
wanted to update it.
Jatrix32 wrote:
> I can see the excel file using this code:
>
> <cfhttp method="get" url="
http://test/test.xls"
throwonerror="yes">
> <cfoutput>#CFHTTP.filecontent#</cfoutput>
> </cfhttp>
>
> But it shows up as a bunch of gobblygook on the screen.
How can I detail it
> down to only 2 cells in the spreadsheet, and make it
look normal?
>
>
Similar Messages
-
Can Cold Fusion work on RHEL3 64-bit? I can't get it working
Please help. even -platformWarnOnly doesn't help me.
According to
ColdFusion
MX 7.0.1 System Requirements
Linux
ColdFusion Product Editions Enterprise, Standard, Developer
Processor
32-bit x86 processors (Intel Pentium II or AMD Athlon class
peformance or better)
Operating System Red Hat Enterprise Linux AS & ES 3.0 or
4.0
SuSE Linux Enterprise Server 8, 9
TurboLinux 8 Server (Japanese only)
Memory 512 MB RAM
Hard Disk Space 500 MB
Phil -
I am having a 64 bit machine on which windows server 2008 R2 is installed. IIS 7.0 is configured and running on it. on which I have my organisations main website. I have to install Cold fusion on this machine as some of my site pages are designed with CF.
I used all the default settings for installing cold fusion 9. It got completed succefully. But after I restarted my system and tried accesing my ASP.net website it was not loading the page. Text getting displayed was only as follows '<script> src="'. Later I unsistalled CF and my site was working fine.
Please can any one guide me to successfully install Cold fusion without disturbing my main site deployed on IIS ?Sarfarajms, I don't recognize what about the CF install would conflict with ASP.NET, but I'll note this:
If you downloaded CF 9 recently, you are still running 9.0--which does NOT formally support IIS 7. If you followed the steps about enabling IIS 6 compatibility and such (in the install guide or some blog entry), perhaps that caused the conflict.
Instead, you will want to install 9.0.1 (CF 9 Updater 1, which is NOT provided in the current 9.0 install). THAT is the first release to formally support IIS 7. And if you read the updater installation guide (http://www.adobe.com/support/documentation/en/coldfusion/901/cf901install.pdf), it discusses how to deal with the upgrade depending on what you had done with respect to IIS, starting at the bottom of its page 8.
Hope that helps.
/charlie -
Use JQuery Datepicker in Cold Fusion
How can I use jquery Datepicker in a cfm application that used iframe? where should I link css and script reference?
It might be nice if you tell people you've already asked this on Stackoverflow (http://stackoverflow.com/questions/15756532/use-jquery-datepicker-in-cold-fusion).
This question has nothing to do with ColdFusion. JQuery runs on the client browser, and does not interact with the ColdFusion server.
You would use the datepicker in exactly the same way you would on a flat HTML page.
Adam -
What can be done when Cold Fusion 9 ODBC Services will not install?
What can be done when 64-bit Cold Fusion 9 ODBC Service will not install on a Windows Server 2008-R2 64-bit machine? Yes, most of the things in other discussions have been tried.
Hi GDMVU,
Save the below code as CF9_RemoveOdbc.cfm
<cfscript>
//login using admin
//createObject("component","cfide.adminapi.administrator").login("administrator_password" );
createObject("component","cfide.adminapi.administrator").login("admin");
//instantiate datasource object
myObj = createObject("component","cfide.adminapi.datasource");
</cfscript>
<cfscript>
writeOutput("Removing ODBC Services...<br>");
returnValue = myObj.removeODBCservice();
writeOutput("ODBC Services removed");
</cfscript>
Save the below code as CF9_InstallOdbc.cfm
<cfscript>
//login using admin
//createObject("component","cfide.adminapi.administrator").login("administrator_password" );
createObject("component","cfide.adminapi.administrator").login("admin");
//instantiate datasource object
myObj = createObject("component","cfide.adminapi.datasource");
</cfscript>
<cfscript>
writeOutput("Installing ODBC Services...<br>");
returnValue = myObj.installODBCservice();
writeOutput("ODBC Services installed");
</cfscript>
Now try the following steps:-
Change admin password in above .cfm pages for your CF 9 server.
Use RemoveObdc cfm page first to remove any existing faulty/corrupted Odbc services.
Use InstallOdbc Odbc services to install Odbc services there.
Hope this helps.
Regards,
Anit Kumar -
How can we purchase Cold Fusion 10. Please can you help.
Please can you give detail how we gonna purchase Cold Fusion 10.
Kindly email at [email protected] for this concern, you would get required information there too.
-
UAG 2010 SP4 Cold Fusion Web Application "You Are Not Authorized To Access This Application" error
Hi folks,
2010 UAG SP4 publishing a web app that is a Cold Fusion login page.
The portal trunk is set to not verify URLs and open with that page directly rather than a Portal page, I also have it set to not install client components, basically using UAG as a reverse proxy with some other items.
The published app does not require authentication and all users are authorized the path is as follows:
/index.cfm?FuseAction=Security.Login
And the hostname is set as www.apps.x.x.edu name removed but is correct. UAG has an http to https redirection and it requires https.
The Portal Link has https://xxxx as the address which is correct as it is using an SSL connection to the backend web server and I can reach the page successfully from the UAG server by simply browsing.
I previously had the application launching within the portal but the client does not want the extra step so I removed the portal interaction all together and while I had the application launching within the portal, it worked. I'm not certain what changed
to make it fail, though.
In the Web Monitor I receive this error:
A request on trunk nonuvaportal; Secure=1 failed because of an unknown application. The URL is /index.cfm?FuseAction=Security.Login. The source IP address is 137.54.129.238. The user is .
Any help or tips or advice would be superb.
Thanks,
JustinAnd an update, I did another application publishing on a separate trunk/portal to a similar page
/index.cfm?FuseAction=Programs.Home
And I get the same error. Is there a switch/setting/policy I am missing to allow it to run those? -
Is this course using Cold Fusion.
I'm at the point where I need to decide what to learn ,I-phone SDK or flash builder vs catalyst.
If this course done with Cold Fusion?I don't have an opinion on the iPhone SDK, but I suggest you learn Flash Builder if you consider yourself a programmer and Flash Catalyst if you consider yourself a designer. Some people will likely crossover between the programs since they can work together.
The Flex in a Week training series (http://www.adobe.com/devnet/flex/videotraining/) will teach you Flash Builder. You can learn about Flash Catalyst on the Getting Started page (http://www.adobe.com/support/flashcatalyst/gettingstarted/index.html).
In regard to your CF question: Yes, Flex in a Week uses ColdFusion for the backend, but that doesn't really matter. The series is set up so that the focus is on the Flex code. You can use any backend technology.
If you are already a ColdFusion developer who wants to get oriented to Flex development, you can start with the articles and tutorials on this page:
http://www.adobe.com/devnet/flex/flex_cf.html
There are similar pages for PHP, Java and .NET developers:
http://www.adobe.com/devnet/flex/flex_php.html
http://www.adobe.com/devnet/flex/flex_java.html
http://www.adobe.com/devnet/flex/flex_net.html -
Can't install Cold Fusion; pasword invalid? sudo command?
When I try to install Cold Fusion, the installer states that my password is invalid or I do not have sudo command privleges. What gives? Where can I update this?
Thanks Edslithery wrote:
dominicm wrote:
slithery wrote:
The --asroot option has been removed from makepkg, which you would know if you searched the forum before posting...
https://bbs.archlinux.org/viewtopic.php?id=191635
I googled the error with no relevant results, then I searched the forum to make sure it wasn't solved with no relevant results returned for the search term "makepkg: invalid option '--asroot')". It's ironic that you accused me of not searching when you haven't bothered to search the error message yourself. If you had you would know the search does not return useful results until this post.
Sorry, I only searched for --asroot which brought up several relevant threads.
No big deal, but in general you shouldn't post things like "search the forum" as it's rarely helpful, and when it is the thread should probably be closed it those cases anyways... -
i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?
You run Windows in Parallels or Fusion. Then in Windows you install the program.
-
Can be Cold Fusion Developer Edition used to develop the product and deliver to client?
Can be Cold Fusion Developer Edition used to develop the product and deliver to client?
The two IP limit not withstanding, the EULA for ColdFusion prevents you from legally using Developer Edition in any production environment. Using it for development is fine, though.
-Carl V. -
anyone have any ideas here?
thanks !Hi logion,
There is a workaround to open cold fusion files in Dreamweaver CC.
http://helpx.adobe.com/x-productkb/policy-pricing/open-coldfusion-dreamweaver-cc.html
See if this works for you. -
How not to use Cold Fusion and Java
Overview
This write up is intended to give java developers that are
developing ColdFusion applications some beneficial information:
things that are not documented.
Scenario
The company builds enterprise class web application software
for fortune 500 companies. It had purchased a CF 7 based product,
had and existing proprietary J2EE based product, and needed to
integrate the two while meeting a host of new requirements. These
requirements were based on delivering a better user experience,
faster / cheaper integration, increased flexibility /
configuration, useablily, decreasing maintenance costs, the ability
to deploy in either install or ASP models. An initiative was
started to create a new framework that integrated the best of each
technologies. Tactically, this meant that we were to build a hybrid
CF and java application: one that used building blocks (decoupled /
cohesive components) that would allow applications to be rapidly
assembled, configured and deployed. This made sense on several
levels, the team was composed of Java and CF developers, the CF
rapid application development was very productive, there is great
functionality delivered in the CF platform and initial performance
tests showed no cause for alarm
The agreed upon design, based on requirements, and analysis
by both the CF and Java staff has us using CF in the presentation
layer, using a CF based MVC, use of CF based web services. The MVC
was deployed using CFC inheritance for model objects and views made
use of CF custom tags. The internals of the application, used a
rules engine, some proprietary java, ORM, and other J2EE
technology. The initial performance of the system was reasonable.
We pushed on with product implementation.
Then it was time to load test the application, and tune it.
Under load the response times were orders of magnitude slower,
sometimes the pages even timed out.
Armed with our profiler, oracle execution plans and we
charged ahead addressing issue after issue. Note that we took
meticulous care in tweaking the active thread pool and ensuring
that our CF setup was tuned for our application. None of the
observations here are a condemnation of the language; rather they
are aspects that, when considered together, not conducive for
building integrated java and CF frameworks that use a structured /
OO programming practices. Further detail can be provided on
request.
CFC inheritance should be avoided - resolution of variable
scope is expensive even if properly declared.
Since CF creates a class per method under the covers call
stacks become very large, especially if used in a loop. This is
nominally exacerbated by CF calls necessary to set up for the
method call (String.toUpper()).
Nesting of loops and if statements should be kept to a
minimum - the conditional for each lookup of logical operator like
LT, GT are synchronized. Under load this results in thread waits.
Jrun has as single thread pool - both http and web service
requests use the same pool. Under load this leads to thread
deadlock. There are work arounds, but they are painful.
Recursion should be avoided - we had a few recursive routines
and these had to be rewritten.
Custom Tags - should be used sparingly - each custom tag
makes a synchronized call to the license server - (This may be
fixed in CF 8)
Summary
In the end we got the performance to reasonable numbers, but
we ended up moving some code to java (Custom Tags) and getting rid
of 'good programming' practices (Inheritance, loops, etc), mandated
proper variable scoping for those things left over. We prototyped a
sans cold fusion implementation and had an order of magnitude
improvement in performance and number of requests served per
second.
The lesson? Use Coldfusion in its sweet spot: make a query,
iterate over the results and format for display. Extensive use of
structure programming techniques or OO CFCs should be avoided: they
will work but under load - but are better as a prototype. Building
frameworks in CF? Think twice, no three times, and, if you must, be
minimalist.
Textinteresting aslbert123,
Not that I doubt you, but could you answer some questions
about your implementation that was so slow:
1.) Did you put your CFCs in the application or server scope?
2.) Were you initializing your CFCs, via CreateObject or
<cfinvoke>, on every request?
3.) Are you sure that you were properly Var'ing every
variable in your methods? (people typically forget about query
names and loop iterator variables)
4.) Could you give examples of how your inheritence was set
up?
5.) For CustomTags, did you call them the old <cf_tag>
way or the newer, better-performing <cfimport> way?
6.) How did you connect CF to Java exactly?
Thanks,
Aaron -
Need to dial a phone number from Cold Fusion
My boss asked me if there was any way that a phone number
could be dialed from Cold Fusion. We have a website where at some
point we want to just click a button and dial that phone number. My
guess is that the conversation will then be carried through the
computer's microphone and speakers and using the computer's modem.
Let me know if there is a way, or what would be the easiest
way to accomplish this, even if it has to be using VOIP, since
that's an option for this project.
Thanks!Is this an internal site or an public-facing site? If you are
talking about using this tool in your intranet and you have a
modern phone system in place, there may be an API to interfacing
with your phone system. We use a TAPI interface to create a phone
dialer so our callcenter agents can dial a phone number on their
phone just by clicking on a link. I'm pretty sure there are a bunch
of freeware/shareware TAPI COM objects you can use floating around
the interwebs (If your phone system supports TAPI).
If you are talking about a public-facing website, then I'm
afraid I can't offer much advice other than to check out the Java
Communications lead that Ted gave you. -
How do you determine what version of PHP is on the cold fusion server
I am trying to find out what version of PHP is on my cold
fusion server, how do I do this? Does coldfusion come with
PHP?In the C:\Windows folder, locate the file called php.ini and
open it in Notepad.
<?php phpinfo() ?>
I answered it myself. Maybe it can help someone else.
Maybe you are looking for
-
What are the system requirements for Final Cut Pro 7?
I can't find the system requirements for Final Cut Pro 7, I can find the system requirements for X, but like I said not 7. I need to know the system requirements for Final Cut Pro 7, so I can buy the correct Macbook. Is there anyway I can find out th
-
Downloaded remote app and it used to work and now it's not recognizing either TV. Any suggestions
-
IWeb vs. competitors: suggestion?
Please, a suggestion for an absolute source code dummy and DOS (HTML, JAVA, UNIX, ...) hater: Should I start creating webpages (for semi-professional use) with iWeb or Freeway Express / RapidWeaver / ... ? I have read the controversy about iWeb's awf
-
This is just to get opinions. I have a procedure in a package that has the following note: n is number that will get converted using CHR if N between 65 and 90 or n between 48 and 57 then In your opinion, keep in mind that this is in a package, would
-
Search/Replace for/with php variable name
Hi all. I have just updated from Dreamweaver 5 to 5.5 and now I am missing a very handy functionality. What I want to do is to replace all occurences of $a with $b. In Dreamweaver 5 that was very easy by using "Find and replace": Find in: All open do