cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2037
Views
0
Helpful
2
Replies

UCCX editor : write Document

Davide Fiumi
Level 1
Level 1

Hi,

I have to write the Caller number (Get Call Contact Info) in a file and then read this file from external application with a scheduled activity.

I have an UCCX 9.0.2 Standard.

How Can I do it?

What is the steps list that I have to insert in the .aef script?

Can I have create/modify a file in an external path?

If I can only create/modify a file in uccx repository... how can I read/empty it from an external application?

Thanks.

2 Replies 2

Davide Fiumi
Level 1
Level 1

I found the solution and everything works fine

1) Write Document(doc to "/opt/cisco/uccx/Customer/test.txt")

NO System.getProperty("uccx.customer.dir") because In Cisco Unified CCX Standard, you can enter only simple expressions unless you  also have a Java license. You automatically have a Java license with the other four  Cisco Unified CCXproducts.

2) CLI comand : file uccx get custom_file test.txt

to move it to folder sftp on a different server

That's great that you found your own solution.

Some other options to explore, and there's even a few more than this (some options require Premium):

  1. HTTP GET/POST from right within the script to your external Web Server
  2. DB Write from right within the script to your external DB server
  3. Have the script upload the document to the repository; combined with an HTTP triggered application which serves up the document contents from repository
  4. FTP the file from right within the script to your FTP server
  5. Access a Windows share right from within the script and move the file to the share

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.