You need to wrap your parameters values with urlencodedformat() so , and | get encoded to their ASCII equivalents.
If you're fronting open bd with iis you may also be hitting a URL length limit which you can also extend using a value in the web.config i forget what it's called A On Friday, 23 November 2012, Jason Allen <[email protected]> wrote: > I'm working on a cfc that will take the ID number of a certain record, and create a googlechart based on it's history. What I'm planning on doing is set 'recordID' as the argument, and have it return via JSON the url for the google chart. After all the information is gathered, the last step of the function is to compile the actual URL. It's a rather long string including a lot of arguments, variables, etc. I can't get openBD to accept how I'm setting the url variable. It's not accepting how I format the string. Can someone look at this and tell me what to change, do? I'm having a brain fart and can't figure it out. > > <cfset dnsStatsDailyGraph.chartURL = "http://chart.apis.google.com/chart? > chf=a,s,000000 > &chxl=2:|Hits|3:|hours > &chxp=2,50|3,15 > &chxr=0,0,#getMaxYvalue#|1,1,24|3,0,30 > &chxs=0,000000,10,0,l,000000|1,000000,10,0,lt,000000|2,000000,10,-0.5,l,000000|3,000000,10,0,_,000000 > &chxt=y,x,y,x > &chbh=a,2,2 > &chs=540x250 > &cht=bvs > &chco=FFC6A5|FFFF42|DEF3BD|00A5C6|DEBDDE > &chds=0,#getMaxYvalue# > &chd=t:#dnsStatsDailyGraph.hit1#, > #dnsStatsDailyGraph.hit2#, > #dnsStatsDailyGraph.hit3#, > #dnsStatsDailyGraph.hit4#, > #dnsStatsDailyGraph.hit5#, > #dnsStatsDailyGraph.hit6#, > #dnsStatsDailyGraph.hit7#, > #dnsStatsDailyGraph.hit8#, > #dnsStatsDailyGraph.hit9#, > #dnsStatsDailyGraph.hit10#, > #dnsStatsDailyGraph.hit11#, > #dnsStatsDailyGraph.hit12#, > #dnsStatsDailyGraph.hit13#, > #dnsStatsDailyGraph.hit14#, > #dnsStatsDailyGraph.hit15#, > #dnsStatsDailyGraph.hit16#, > #dnsStatsDailyGraph.hit17#, > #dnsStatsDailyGraph.hit18#, > #dnsStatsDailyGraph.hit19#, > #dnsStatsDailyGraph.hit20#, > #dnsStatsDailyGraph.hit21#, > #dnsStatsDailyGraph.hit22#, > #dnsStatsDailyGraph.hit23#, > #dnsStatsDailyGraph.hit24# > &chma=|0,15&chtt=Previous+24+Hours++(#dnsStatsDailyGraph.totalHits#+total+hits)&chts=000000,11"> > > -- > online documentation: http://openbd.org/manual/ > http://groups.google.com/group/openbd?hl=en > -- Alex Skinner Managing Director Pixl8 Interactive Tel: +448452600726 Email: [email protected] Web: pixl8.co.uk -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
