XML/SWF Charts- How do I pass parameters to my Agent?

I have an agent that I use to generate an xml file to be used as the source for
my SWF chart. I cannot get the Flash plugin to work when I try to pass a
parameter.

./xmlAgentwithParameters.xml?openagent&Customer=Acme

It works if I hard code a Customer name in the agent and use the url:
./xmlAgentwithParameters.xml?openagent

What could I be doing wrong?

Page code

{

Report

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,0,0”
WIDTH=“400”
HEIGHT=“280”
id=“charts”
ALIGN=“”>





]

Thanks in advance for any advice.

Subject: XML/SWF Charts- How do I pass parameters to my Agent?

You can call the agent like this-

chartAgent?openagent&param1=1&param2=2 (etc)

and in the agent, get hold of the parameters from the document context…#

doc = session.documentcontext

queryString = doc.Query_String_Decoded(0)

HTH, Andrew

Subject: RE: XML/SWF Charts- How do I pass parameters to my Agent?

My issue turned out to be malformed xml file that the charts.swf was consuming.

I am using your technique.

I appreciate the fast response Andrew.

Thanks

Mike