03-01-2013 09:36 AM - edited 03-14-2019 11:20 AM
Hi,
I have been working on this for days and could not get it resolved.
I am using UCCX 8.5 Pre to receive an http trigger and send response with some parameters and variables mapping. I followed the scripting guide to create the html template and do the keyword transform. However, when I start to send the response, I always see the error from reactive debug that shows "FileNotFoundException".
I then try to simply follow the guide to build the testing script (hello), and still see the same error. I think I upload the template html file into a wrong folder. So verified the trigger language and uploaded the template file almost in all folders I could think still with no luck. I even tried in a different UCCX 8.0 system and it is the same.
What could be the problem? Installation directory?
Any input would be highly appreciated.
Thanks,
Q
03-01-2013 10:01 AM
Hi,
which step throws the FileNotFoundException?
Can you please post your script, or at least a screenshot of it?
G.
03-01-2013 10:24 AM
Thanks for the quick response,
Now I am using the sample script and still get the same result. I got the error message on the 'Send HTTP Response' step.
I put the test.html (static file) file to default/webapps/ROOT folder, and the hello.html (dynamic) file into the same folder. I can access both files using a browser pointing at:
Q
03-01-2013 01:29 PM
Er... not absolutely sure what you are trying to achieve, but try this:
1. Upload the hello.html file to the Document Repository, to the default language folder of your UCCX. For instance, if the default language of UCCX is US English, the folder we're looking for is en_US.
2. Change the second step to doc = Create File Document(DOC[hello.html]). This DOC[] thing points to the document repository.
Remember, the Create URL/File Document steps do not actually load the documents, just create references to them.
G.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide