Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CRS Editor 5.0(2) - Pass a variable info to an agent


I have a variable the information stored about a customer's name associated with the calling number, then interact with an SQL database. I want to convey this variable (the name of customer information) to an agente who will answer the call, How Can I do this?



VIP Super Bronze

Re: CRS Editor 5.0(2) - Pass a variable info to an agent

You use the Set Enterprise Data step to save the variable to an ECC value.

The script would look similar to this:




Select Resource


----Set Enterprise Data



--------Goto END


--------Goto SELECT_RESOURCE_csqID1






For this to work, you must have already configured the ECC value and a non-default layout list within Cisco Desktop Administrator. Do NOT customize the DEFAULT list as it is subject to get overwritten during an upgrade. See the Cisco Desktop Administrator User's Guide 6.4 for Unified CM for more information on setting up Enterprise Data which starts on page 25.

You can read more information about the Set Enterprise Data step in the Cisco CRS Scripting and Development Series: Volume 2, Editor Step Reference 5.0(1).

The Set Enterprise Data step begins on page 98 (2-70).

This step is a little confusing to those unfamiliar with it. To get you started:

1) Add the step at the appropriate location (see above).

2) Ignore the General tab. This is used with ICM. Proceed directly to the Expanded Call Variables tab.

3) Add a variable. The most important thing is to map this data to the layout list you created in CDA. The first thing to add is this:

NAME: "user.layout" [including the quotes!]

VALUE: "" [including the quotes!]

Here's where people get turned around: the "value" on this step is the VARIABLE WITHIN YOUR SCRIPT you wish to assign. The "name" on this step is the ECC VALUE NAME you created in CDA.

Always put the Name in quotes.

Put the Value in quotes only if you are assigning a literal value instead of mapping a variable from the script.

Click OK on the warning when prompted.

Lastly, stay away from the System > Expanded Call Variable window within the CRS Editor interface. It creates a .DAT file which must be present whenever the script is edited. If it is missing the values you set in that window will be lost and break the script when someone missing the DAT files saves the script. For UCCX environments, this isn't required (an ICM thing).

Please remember to rate helpful responses and identify helpful or
New Member

Re: CRS Editor 5.0(2) - Pass a variable info to an agent


Thanks for that information, I struggled to find documentation on this feature.



Cisco Employee

CRS Editor 5.0(2) - Pass a variable info to an agent

This might also help.


- mo

(Monawar Alhaque)

Cisco PDI UCC Team Lead

Office Phone:  1 469 255 0296

Office Hours: 9:00 - 17:00 Central

Office Days: Monday - Friday

New Member

CRS Editor 5.0(2) - Pass a variable info to an agent


That's an excellent document for v4. I needed info for a v8 install but managed to work out what I needed to do from Jonathan's post.

If you have a similar article that's as detailed for v8 you should post it as I'm sure people would benefit.