Maintaining Data Model

When you create and modify the associated database tables for each class or when you perform other database operations, you might need to perform some common tasks. This section covers the following topics:

Refreshing Configuration

Every class has DEFAULT and DETAIL configurations that determine which properties should appear in the Power Search View and Cascade Results windows of CES. You cannot modify these configurations as they are generated by CES.

However, you can create new configurations for a class, using the Forms editor. These configurations help simplify the process of adding and modifying data by displaying only the properties you need for a given task.

You can refresh a configuration and see the latest changes online, without disconnecting from the client.

This task explains how to refresh a configuration:

  1. Select the required class in the Browser View.

  2. From the menu bar, select Class Actions > Refresh Config.

    You are prompted with a confirmation dialog.

  3. Click Yes to refresh the class and all the subclasses.

    OR
     

  4. Click No to refresh only the selected classes.

  5. You can click Cancel to terminate the whole Refreshing Configuration process.

Recreating View

You can create the view of class or classes in the database. When you recreate the view, the physical table is dropped and created again.

This task explains how to recreate a database view:

  1. In the Browser View, select the required class.

  2. From the menu bar, select Class Actions > Recreate View.

    You are prompted with a confirmation dialog.

  3. Click Yes to refresh the class and all the subclasses.

    OR
     

  4. Click No to refresh only the selected class.

    OR
     

  5. Click Cancel to cancel the recreating process.

Note: After the pending operations are executed successfully, the Action property for that class does not show any pending operation.

Completing Pending Operations

After modifying classes or class properties, you need to perform the pending operation. CES keeps track of the required operations.

This task explains how to complete the pending operations:

  1. In the Browser View, select the required class.

  2. From the menu bar, select Class Actions > Complete Pending Operations.

    You are prompted with a confirmation dialog.

  3. Click Yes to refresh the class and all the subclasses.

    OR
     

  4. Click No to refresh only the selected class.

    OR
     

  5. Click Cancel to cancel the recreating process.

Refreshing Count

You might need to refresh the count for a class. If you have imported new objects in to the class, refresh the class to view the latest count of items in the class. This updates a hidden field of the Classes in CES.

This task explains how to refresh the count:

  1. In the Browser View, select the required class.

  2. From the menu bar, select Class Actions > Refresh Count.

    You are prompted with a confirmation dialog.

  3. Click Yes to refresh the class and all the subclasses.

    OR
     

  4. Click No to refresh only the selected class.

    OR
     

  5. Click Cancel to cancel the refreshing creating process.