if i'm understanding correctly, you're passing the literal string, so
you'd need to put in in quotes.
&departmentname=#URLEncodedFormat('G&A')#
&departmentname=#URLEncodedFormat('Sales/Small Business')#
On 7/16/07, Christopher Chin <[EMAIL PROTECTED]> wrote:
> Anyone know how to urlEncode an itemLabel in CFCHART?
>
> Here's my URL:
> index.cfm?departmentname=$ITEMLABEL$
>
> Sometimes the $ITEMLABEL$ is "G&A" or "Sales/Small Business"
>
> Those are actual department names. When clicking the graph on these bars, i
> get
>
> 0 results for department name "G"
> 0 results for department name "Sales"
>
> I tried:
> index.cfm?action=photoview&departmentname=#URLENCODEDFORMAT($ITEMLABEL$)#"
> and get the CF error: Variable $ITEMLABEL$ is undefined.
>
> Any thoughts? thanks!
> Chris
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283786
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4