Here are the details for Asp scripting.
1)Make sure you have Agent 11.5.40 software version and Campaign version 11.3.48(Access) / 1.2.43 (Pro) or higher.
2)URL Scripting option is enabled at the server (Options->Preferences->General)
3)Open the Campaign ini file located in C:\SPD\. Each Campaign window has it's own ini file.
i.e. 1.ini for Campaign 1
4)Look for the parameter labeled ServerSideQueryStringURL=
5)Make sure you have set the correct path for your ASP Page and put that after the equals sign.
6) Also the Agent software needs to have Auto URL Popup enabled in the Agent Setup window, under the General tab. Open the Agent software and press SHIFT+F1 to bring up the Agent Setup window. Go to the General Tab and check the box for Auto URL Popup. Close and reopen the Agent software.
When an Agent gets a call, the agent application opens up the URL specified in the parameters above, for the server.
Also, the Agent software adds the following parameters to the URL request:
?aname=nameofagent
&cname=clientname
&Company=nameofcompany
&Address=address
&city=nameofcity
&st=state
&zip=zipcode
&voice=voicephone
&fax=faxphone
& email=emailaddress
&aid=AgentID
&url=website
&user1=userfield1- These are user defined fields from 1 to 10
& user2=userfield2
& user3=userfield3
& user4=userfield4
&user5=userfield5
& user6=userfield6
& user7=userfield7
&user8=userfield8
& user9=userfield9
&user10=userfield10
¬es=notes field
So lets assume that the URL path at the server is www.myserver.com/index.asp.
So the agent application will open the URL as www.myserver.com/index.asp?aname=nameofagent&cname=clientname,
and so on. You can write the following code in your ASP page to retrieve any information from the above parameters.
Say the Compname is a variable
Then ,
Compname=requestquerystring(company)
Now Compname will have the value of company, which is sent as a parameter by the agent application.
Similarly, you can access any other parameter from your asp page.
The following is a sample script.
The writing in italics is added automatically by the asp script
LIMESTAR RESORTS
HI Mr. Chirag Shah , THIS IS Nick Stevenson FROM THE LimeStar RESORT OFFICE HERE IN KILLINGTON VERMONT.
THIS IS AN INVITATION CALL TO OUR OPEN HOUSE WE ARE OFFERING A COMPLIMENTARY OVERNIGHT STAY AND DINNER FOR TWO RIGHT HERE IN KILLINGTON. THE NORTHSTAR RESORT WOULD LIKE TO OFFER THIS COMPLIMENTARY VACATION TO INTRODUCE NEW PEOPLE TO THE KILLINGTON SKI AREA. EVEN IF YOU DON'T SKI THERE ARE THINGS TO DO FOR EVERYONE. JUST FOR ATTENDING OUR OPEN HOUSE, YOU WILL RECEIVE AN OVERNIGHT STAY RIGHT HERE IN KILLINGTON AS WELL AS A $40 DINNER CERTIFICATE FOR TWO AT THE GRISTMILL RESTAURANT. THERE IS ABSOLUTELY NO COST TO YOU FOR THIS. IT IS JUST OUR WAY OF INTRODUCING PEOPLE TO THE GREAT VACATIONING OPPORTUNITIES HERE IN KILLINGTON. THIS OFFER IS ONLY AVAILABLE FOR A LIMITED TIME SO IF YOU WOULD LIKE A COMPLETELY COMPLIMENTARY VACATION THIS IS YOUR CHANCE.
Are you interested in visiting our club?
Information about the customer is automatically filled in the form.
Additional information about the Customers can also be pulled from the CRM database . For E.g. Customer History /notes.
When the Agent Clicks a submit button in the ASP page, the information is posted in the company's CRM database that is tied to the ASP page.
Last Updated
12th of November, 2009