UCCX (IPCC) HTTP document

Unanswered Question
Mar 18th, 2009
User Badges:


I'm trying to get the web server working on IPCC. I put HTML documents into all the folders under 'Applications > Document Management' (web interface) or into 'C:\Program Files\wfavvid\tomcat_appadmin\webapps\ROOT' (as suggested by the 'Getting Started with Scripts' guide), but neither work. I've created a HTTP trigger. Am I missing something?

Thanks. I'm using IPCC v7.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Jonathan Schulenberg Thu, 03/19/2009 - 06:53
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

The document repository is not a directory on Tomcat that you can call pages from. It is stored in the SQL database and is only accessible by the CRS engine at run time. You can retrieve documents from the repository using the Create XML Document and Get XML Document steps.

Cisco Unified Contact Center Express Scripting and Development Series: Volume 2, Editor Step Reference 7.0(1) : http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/user/guide/uccx701edstepref.pdf

The HTTP-related steps are intended to retrieve files from other servers, not the UCCX server itself.

nowcommsupport Tue, 03/24/2009 - 03:17
User Badges:

I'm trying to implement the following script (called queuestats):

(1) User clicks a link to view queuestats

(2) use Get Reporting Statistic step to gather desired information

(calls in queue, agents logged in, and agents busy in this case)

(3) substitute values into the queueStats-template.html

(4) send HTTP response back to user.

Given the last response, where should queueStats-template.html be placed?


acomiskey Tue, 03/24/2009 - 06:10
User Badges:
  • Green, 3000 points or more

queueStats-template.html goes into

c:\Program Files\wfavvid\Documents\use\default\webapps\ROOT

villarrealed Tue, 03/24/2009 - 07:25
User Badges:
  • Bronze, 100 points or more

Upload your queue stats template to the document repository using appadmin. You can then use the CreateFileDocument step in the CRS editor to access this file and replace the values in the tamplate. You can then use the SendHTTPResponse step to return the HTML document that has been updated with the queue stats.

sufle Wed, 07/14/2010 - 10:49
User Badges:

Hi all,

Sorry for posting into such an old case, but I was going to open something similar and though it would be better to post in this one.

I have the same problem as the initial user.

I'm trying to follow the hello.aef creation steps from the "getting started with scripts" documentation from cisco.

And do not know where to place the static .html file.

As you suggested, the dynamic .html file has to be placed in Applications -> Document Management, document repository. That is already done.

But nothing will never work unless I get access to the static html page, the one that calls the script.

I do not understand where to place the welcome.html file.

Do I have to place it on the server?

If I place it on separate web server, how do I call the script on the UCCX server? The example document calls script like this:  /greeting

nothing else. I do not know how I change it to call it from UCCX server.


soban_bakthavathsalu Mon, 07/26/2010 - 04:42
User Badges:


I managed to crack it this Sunday.

1. Create a new folder greeting under c:\inetpub\wwwroot

2. Place the static.html in the folder c:\inetpub\wwwroot\greeting

3. Create a subfolder template under greeting and place the dynamic.html page in this folder c:\inetpub\wwwroot\greeting\template.

4. Create the website greeting under the IIS default websites on your IPCC server with the root directory as c:\inetpub\wwwroot\greeting

5. Create the http trigger called greeting.

Thats it your done....



sufle Mon, 07/26/2010 - 09:29
User Badges:

wow, that's great!!!

I'll try it tonight, but I'm sure it'll work.

all documentation says it should go into tomcat directory, I did not even think to look into IIS service.

Did you see it somewhere or were you just trying that?

Many thanks for your help!!!


soban_bakthavathsalu Mon, 07/26/2010 - 10:18
User Badges:

I know a bit of IIS and tried it. You can place the directory anywhere on it and the website root you create under IIS must point to the correct directory. Thats it.



sufle Tue, 07/27/2010 - 01:30
User Badges:


I tried what you suggested yesterday, but the trigger did not work.

I'll describe the steps I've made:

1) Create folder "greeting" in c:\inetpub\wwwroot: c:\inetpub\wwwroot\greeting

2) place the static.html in the folder: c:\inetpub\wwwroot\greeting

3) Create folder template in the folder c:\inetpub\wwwroot\greeting: c:\inetpub\wwwroot\greeting\template

4) place sayhello.html in this folder.

5) create web page pointing to this folder.

until here everything was succesful, I can now access web page through www:

and it opens the form to enter the name.

6) create http trigger with the name /greeting (it's the same method that we have in static.html in POST method)

for some reason, the trigger is not triggered. I tried to do reactive debugging, but it just does not get triggered.

Do you have any suggestions?

Many thanks,

soban_bakthavathsalu Tue, 07/27/2010 - 01:58
User Badges:

Hope you have uploaded the script in appadmin and associated that with an application. Then the applic

ation is associated with http trigger created by you. Then there is no reason why your script can't be initiated.



sufle Tue, 07/27/2010 - 02:04
User Badges:

Yep that was done.

The script is on the script repository, then I have an application created with this script which has HTTP Trigger associated to it.

Sorry should've mentioned this in my post before.

soban_bakthavathsalu Tue, 07/27/2010 - 02:09
User Badges:

Can you share your html page details of the static.html. Also rename this

as index.htm and try accessing the web page as http://localhost/greeting

the page should load automatically.

Thank you


From: sufle

To: Soban Bakthavathsalu/WIPRO/CNTR/APPLIED [email protected]

Date: 07/27/2010 02:04 AM

Subject: New message: "UCCX (IPCC) HTTP document"


A new message was posted in the Discussion thread "UCCX (IPCC) HTTP



Author : sufle

Profile : https://supportforums.cisco.com/people/sufle


sufle Tue, 07/27/2010 - 02:16
User Badges:


I've tried already to make it load automatically.

although instead of changing the name to index.htm I've added static.html to default pages tab in IIS configuration.

which made it load with:

and the contents are these:


What is your name

dynamic one:

Hello %name%

Thanks for your help again.

soban_bakthavathsalu Tue, 07/27/2010 - 02:20
User Badges:

What is your name

I have done a correction in the form action in html. This should work now.



sufle Tue, 07/27/2010 - 03:09
User Badges:


Thanks a lot.

The trigger gets executed now. the 8080 port fixed the problem. Which means the application after all is sitting on tomcat server.

I've having other problem now, but I'll try to fix it myself.

the script can't find the file specified, sayhello.html (dynamic one).

I'm getting the file with thee following function: Create File Document step

Which I guess looks for the document in a document repository.

I've placed sayhello.html in a document repository, pretty much everywhere now. but still it can't find it.


sufle Tue, 07/27/2010 - 13:02
User Badges:

Hi there,

Thanks a lot for all your help.

I was finally able to figure out the last problem, although it had nothing to do with the original question,

It looks like Create File Document step, does not get the document from the Document repository, which is what I thought initially.

It needs a full path to the file, which I had to put like following:"C:\Program Files\wfavvid\Documents\user\default\sayhello.html"

In this case it worked perfectly.

Many  thanks again.


Aaron Harrison Tue, 07/27/2010 - 13:46
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015


The 'Create File Document' step will want a disk file name...  that's basically it's purpose, to prepare to load a file into a doc variable.

If you want to refer to a repository document just set the document variable to something in this format : DOC[filename.html] or DOC[test.xml]

Obviously either way works, but the direct repository access is the proper way and should continue to work if you upgrade to 8.0 (linux) whereas what you have now will certainly fail...



Please rate helpful posts...

sufle Tue, 07/27/2010 - 14:33
User Badges:

Hi Aaron,

Thanks for your input.

Indeed that's what I discovered. I know if I use DOC[filename] I get it from the repository, I only thought initially that the Create File Document referred to the repository too, but as I was playing around with the function, I've discovered it does not.

As well, would be good if we could have something like Create File Document but for repository. That way you could get files from the repository on the fly without need to define the files beforehand.


Aaron Harrison Wed, 07/28/2010 - 02:46
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015


What do you mean by on the fly?

It's possible to define the name of the document at run time, such as :

SET docVar = DOC["settings.xml"]


sufle Wed, 07/28/2010 - 03:20
User Badges:

on the fly=runtime...

Sorry for my wrong terminology.

Thanks for the tip, I did realize you could define it with set step.



Aaron Harrison Wed, 07/28/2010 - 06:20
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

No problem...

Please rate helpful posts and mark answered questions that you've got a satisfactory response from to help identify useful content in the forums...


This Discussion