Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

UCCX 5.0/7.0 Location for XML files

Hi,

I use XML files in UCCX applications to hold things such as system state variables etc.

I normally create a directory to store the XML files under C:\Program Files\wfavvid.

However, when upgrading, any non-standard sub-directory of wfavvid seems to be deleted.

Can someone let me know where I can store these files such that they will not be deleted when an upgrade is applied?

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

Re: UCCX 5.0/7.0 Location for XML files

It would be DOC[filename.extension]

If you have folders within the repo you would add them as well:

DOC[folder\filename.extension].

You should stop looking at the file system. The repositories exist in SQL and the contents are copied down to the disk for the MIVR subsystem to use at run time. Manage them through /appadmin only. You're going to loose access to the disk in 8.0 anyways when it converts to the sealed appliance model UCM has been on since 5.0.

6 REPLIES
Hall of Fame Super Silver

Re: UCCX 5.0/7.0 Location for XML files

Upload them to the document repository via appadmin.

HTH,

Chris

Re: UCCX 5.0/7.0 Location for XML files

Thanks Chris,

I have quite managed to get my head around repositories as I did my training on 3.0 and only occasionally write scripts.

When I want to access a document in the repository what path do I specify in the Create File Document step?

Is it the path from the wfavvid directory? - e.g. "Documents\user\en"

VIP Super Bronze

Re: UCCX 5.0/7.0 Location for XML files

It would be DOC[filename.extension]

If you have folders within the repo you would add them as well:

DOC[folder\filename.extension].

You should stop looking at the file system. The repositories exist in SQL and the contents are copied down to the disk for the MIVR subsystem to use at run time. Manage them through /appadmin only. You're going to loose access to the disk in 8.0 anyways when it converts to the sealed appliance model UCM has been on since 5.0.

Re: UCCX 5.0/7.0 Location for XML files

Thanks for both replies - much clearer now!

Will try to break my bad coding habits before 8.0 arrives.

Re: UCCX 5.0/7.0 Location for XML files

Sorry I am still struggling with this.

I want my script to read a file called SystemState.xml which I have uploaded to the document repository to the en_GB\Housing Repairs Helpdesk directory.

In my script I have a Create File Document step where I specify the Filename value as "DOC[en_GB\Housing Repairs Helpdesk\SystemState.xml]"

However when I place a call to the script it fails and the following data is logged in the trace file.

EXCEPTION: nested stack trace is: 35931: May 29 10:36:47.339 BST %MIVR-APP_MGR-6-EXCEPTION: java.io.FileNotFoundException: DOC[en_GB\Housing Repairs Helpdesk\SystemState.xml] (The system cannot find the path specified)

I guess the path is incorrect but cannot see what is wrong - any help most welcome.

Re: UCCX 5.0/7.0 Location for XML files

Think I have cracked it.

The XML file is uploaded to the document repository to the en_GB\HousingRepairsHelpdesk directory and I use "DOC[HousingRepairsHelpdesk\SystemState.xml]" in the Create File Document step.

The system does not seem to like spaces in directory names.

408
Views
4
Helpful
6
Replies
CreatePlease to create content