Creating a Repository Area

Create DiveTab repository areas to present DivePort document libraries, or DiveTab project directories, to DiveTab application users. (See the DivePort Administrator Help for information about defining and populating document libraries.)

Assume the following document library (Guides with six documents) exists in the DivePort that is hosting the DiveTab application.

Here is an example of a Closeddocument library in DivePort.

Document Library in DivePort instance

To add a repository to your DiveTab application:

  1. In a DiveTab module, click the Add new item button (green plus sign), and then click New Area > Repository Area.
  2. Under Button Properties in the rightmost pane, enter:

    • A Title for the button (also becomes the page title)
    • An Icon for the button
    • Optional: A Retina Icon for the button

    Here is an Closedexample of Button Properties:

    Defining the Repository Area in the GUI

  3. Select Click here to edit Area.

    The DiveTab script opens in a text editor.

  4. Locate the repository-area code block.
  5. In the repository string, type the name of the DivePort document library. Here is how the Closedrepository Guides appears in the code.

    Workbench Repository Area Code Block/Properties

  6. Save the file.

To view the results in DiveTab, Sync the application, select the repository button, and access the repository.

Here is the Closednew button in DiveTab.

Repository Button displayed in DiveTab

Here is the Closedview of the repository area in DiveTab. The repository contains the same content as the DivePort document library.

DiveTab View of the Repository Area