Using the SAS Web Infrastructure Platform Utilities |
About the DAVTree Utility |
The DAVTree utility is a stand-alone Java application that provides a tree view of WebDAV resources. The utility enables you to manipulate content by copying files to a WebDAV repository or by creating text files such as forms and templates.
The utility presents information in a tree view. When you select a resource item in the tree on the left side of the window, the WebDAV properties for the resource are displayed on the right side.
Here is an example DAVTree interface:
In the interface, you see only the content that you are authorized to see.
The following guidelines apply to the use of the DAVTree utility:
If you have not yet installed the third maintenance release for SAS 9.2, then you must manually configure the JAVA_HOME system variable to point to Java 5.
If you have installed the third maintenance release for SAS 9.2 or later, there is no need to manually configure the JAVA_HOME system variable to point to Java 5.
Start the Utility and Connect to a WebDAV Location |
To use this utility, follow these steps:
Run the following command on Windows:
SAS-configuration-directory\Levn\Web\Utilities\DAVTree.bat
On UNIX and z/OS:
SAS-configuration-directory\Levn\Web\Utilities\DAVTree.sh.
The DAVTree utility appears.
Select File Open.
The DAV Location dialog box appears.
In the URL field, enter the URL for a WebDAV location. For example, enter the following URL and substitute the server name and port number of your WebDAV server (SAS Content Server):
http://server:port/SASContentServer/repository/default/
If the WebDAV server was set up with a proxy, enter the proxy host and port.
Click OK. You are prompted for credentials.
Enter your administrator credentials in the logon dialog box.
You can later connect to a different WebDAV location by repeating steps 2-6 and providing the URL for the new location.
Add Resources to WebDAV |
You have the following options for adding resources to the WebDAV repository.
Copy files to DAVTree. You can copy both text files and binary files to the repository.
To copy a file, click and drag the file from the file system to a folder in the DAVTree interface.
This action can be performed on Windows systems and on UNIX systems that provide a graphical interface.
Create a text file.
Position the cursor on the folder where you want to create the text file.
Select Edit Add.
You are prompted to confirm the action, and then an Add dialog box appears. Here is an example dialog box with data entered in the fields.
Select Resource.
In the field to the left of the Resource radio button, enter the name of the text file. If a file already exists with the name that you provide, the file is overwritten.
The example shows a file with the name myFile.txt.
In the field below the Resource radio button, enter the text that you want the file to contain. Press ENTER to start a new line.
The example shows a file that contains the text string "Contents of myFile.txt."
If you want to define a custom WebDAV property, click New property. Two text fields appear in the gray properties panel. In the left field, add the property name. In the right field, enter the property value.
Click OK.
Create a folder.
Position the cursor on the folder where you want to create the new folder.
Select Edit Add.
You are prompted to confirm the action, and then an Add dialog box appears.
Select Collection.
In the field to the left of the Collection radio button, enter the name that you want to give the folder.
Click OK.
Note: To delete a resource, select the resource in the tree and then select Edit Delete. You are prompted to confirm the deletion.
Edit a Text File in WebDAV |
To edit a text file, follow these steps:
Right-click the text file and select Edit. The Edit File dialog box appears and displays the contents of the file.
Make your changes to the text.
Click Save.
Copy or Move a File in WebDAV |
To move a file from one location to another in WebDAV, in DAVTree click and drag the file to the desired location.
To copy rather than move a file, press and hold the CTRL key while dragging.
Note: You must refresh the view in order to see the change.
Advanced Features |
The DAVTree utility can be used as a diagnostic tool. The utility provides features such as locking files, versioning files, and modifying WebDAV properties.
These advanced WebDAV functions, which are not covered in this documentation, should be performed only by someone who has WebDAV expertise.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.