cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
721
Views
2
Helpful
3
Replies

UCCX scripting - uploading to a sub folder in Documents

joekarter
Level 7
Level 7

I have a script that reads and writes XML files from the root of Directory just fine.  Recently, I have had the need to create sub folders.  I can read from the sub folders, but each time I try to write (upload) the file, it places the new file in the root, not the sub folder.  I am enclosing pics of the directory structure and the script document information.

Is there some trick to doing this?  Any help would be greatly appreciated!

Folder Structure.JPG

Editor 1.JPG

Editor 2.JPG

3 Replies 3

In your write document step can you try “BillingReps/openCloaseCodeBilling.xml”?

david

joekarter
Level 7
Level 7

It took me a bit, but I finally found this issue.  In my upload step (of you look closely) you will see that I put a "\" ahead of the subdirectory.  This is what caused my issue.  I simply removed that and now everything is working as expected.  I hope this helps others.  I am attaching before and after to better clarify this solution.

Thanks for posting the solution.

david