Copy link to clipboard
Copied
I can't get evaluate to resolve URL strings that I pull from my database.
Here's an example of a URL that's stored in my database:
my_long_url.cfm?thisCity=#url.thisCity#&GroupVal=#URLEncodedFormat(URL.GROUPVAL)#
When I get the value from my database I can't get it to resolve the variables in the string. Here's what the end result should look like:
my_long_url.cfm?thisCity=Dallas&GroupVal=Parking Tickets
Here's my code:
<cfoutput query="tabs">
#evaluate("tabs.url")#
</cfoutput>
I'd appreciate any help. Thanks!
-Aaron
You're trying to evaluate a simple string "tabs.url", instead of the query
column value. Try this:
#evaluate(de(url))#
</cfoutput
Copy link to clipboard
Copied
You're trying to evaluate a simple string "tabs.url", instead of the query
column value. Try this:
#evaluate(de(url))#
</cfoutput
Copy link to clipboard
Copied
Perfect! Thank you!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more