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.
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.
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?
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.
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.
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....
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!!!
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.
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: http://10.0.0.100/greeting/static.html
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?
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.
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.
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.
To: Soban Bakthavathsalu/WIPRO/CNTR/APPLIED MATERIALS@AMAT
Date: 07/27/2010 02:04 AM
A new message was posted in the Discussion thread "UCCX (IPCC) HTTP
Author : sufle
Profile : https://supportforums.cisco.com/people/sufle
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: http://10.0.0.100/greeting/
and the contents are these:
Thanks for your help again.