Chapter 3 Working with Dynamo Web Sites


Working with folders and documents in your Web site

When you create a Web site, two folders are automatically placed into the Web site:

Once you start adding content to your Web site, you may want to create additional folders.

Creating folders

To add a folder to a Web site:

  1. Use Sybase Central to connect to a Web site.
  2. Open the folder within which you want to create a new folder.
  3. Double-click Add Folder in the right pane.
  4. Enter a name for your folder, and click Next. Do not use spaces, as not all Web servers and browsers handle spaces correctly.
  5. If your Web site has more than one connection, select the connection for the documents in this folder to use as a default. For more information about connections, see "Working with connections".
  6. Enter an optional description of the folder, and click Finish.

Moving or copying folders and documents

To move or copy a folder or document within a Web site:

  1. From Sybase Central, open the Web site folders until you see the folder or document you want to move or copy.
  2. To move the folder or document, drag the icon to the desired location. To copy it, press the Ctrl key while you drag the icon.

Deleting folders and documents

To delete a folder or document from a Web site:

  1. Use Sybase Central to open the Web site folders until the folder or document you want to delete is displayed.
  2. Right-click the folder or document, and select Delete from the menu to delete the folder.

WARNING!

Caution
Deleting a folder deletes all the contents of that folder and cannot be undone.

Renaming folders and documents

To rename a folder or document:

  1. Use Sybase Central to connect to a Web site.
  2. Open the Web site folders until you see the folder or document you want to rename.
  3. Right-click the folder or document and select Properties from the menu.
  4. Replace the current name with a new name, and click OK to make the change.

Linking folders to directories on disk

You can store documents that are part of a Web site either in a database or as files in a directory tree. While holding information in a database has many advantages, you may wish to hold some of the material in your database-based Web site as files. PowerDynamo allows you to do this using linked folders. A linked folder is a folder in a database-based Web site that provides access to files stored in a directory on a disk.

Note  

Linking vs. importing
Linking a folder to a directory leaves the Web documents stored physically in the file system; it does not physically import them into the database. Importing a directory or a set of files physically copies the documents into the database.

Steps To create a linked folder:

  1. Use Sybase Central to open the Web site folders in the left pane until you see the folder where you want to create the linked folder.

  2. Double-click Add Linked Folder in the right pane.

  3. Follow the instructions in the wizard to create the linked folder.


Note  

Linked Folders
You cannot create a linked folder inside a linked folder.

Linked folders are applicable only to database-based Web sites.

Working with linked folders

You should be aware of the following behavior when working with the contents of a linked folder:

Note  

SQL Remote cannot replicate linked folders
SQL Remote replication technology replicates database content only. It cannot replicate the files stored in a linked folder.

 


Copyright © 1999 Sybase, Inc. All rights reserved.