cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3173
Views
5
Helpful
7
Replies

Write Document Step in UCCX 8.5

gpworld
Beginner
Beginner

I am at the last piece to my puzzle in a script.  I use an XML template to transform the document.  I cannot for the life of me get the write document to work.  I keep getting "java.io.FilePermission" error when I debug the script.  Anyone enlighten me as to what has changed (beside that its an appliance now).  I am figuring I am either referencing the file name and/or location incorrectly.

1 Accepted Solution

Accepted Solutions

Hello gpworld and JMC,

The java.io.FilePermission is received because you are trying to write a document in a folder in which you don't have permission. In UCCX 8.0 and 8.5 the only place you have permission to write files is the Customer folder: /opt/cisco/uccx/Customer.

So you need to put this path in the Write Document step:

A similar thing can be done with an XML document.

You can check if the files in the Customer folder with this CLI command:

admin:file uccx list custom_file *

And use an SFTP server to retrieve the files:

admin:file uccx get custom_file

HTH

Pablo

View solution in original post

7 Replies 7

jmcburnett
Beginner
Beginner

I have the same problem.. I have a TAC case open..It worked in 8.0  but is broke in 8.5

Would love to know what the fix / problem is.  Please post solution when TAC or yourself has figured this one out.

Thanks in advance!

Hello gpworld and JMC,

The java.io.FilePermission is received because you are trying to write a document in a folder in which you don't have permission. In UCCX 8.0 and 8.5 the only place you have permission to write files is the Customer folder: /opt/cisco/uccx/Customer.

So you need to put this path in the Write Document step:

A similar thing can be done with an XML document.

You can check if the files in the Customer folder with this CLI command:

admin:file uccx list custom_file *

And use an SFTP server to retrieve the files:

admin:file uccx get custom_file

HTH

Pablo

Thanks!

Just need to re-think how I do things.  That worked like a charm.  I am determining whether I am better off uploading the file via Upload Document.  Regardless, I now have a working solution using your comments.  Much appreciated.

G