Chatta subito con l'assistenza
Chat con il supporto

Identity Manager 9.1 - Web Designer Reference Guide

The Web Designer editor Web Designer structures and functions The Web Designer object model Working with the Web Designer Web project configuration options Customizing the Web Portal Basics of Web Designer programming Compiling and debugging Monitoring Frequent tasks in the Web Portal

Edit database queries

You do not have to select a node to edit database queries using this dialog. You can create new expressions or delete and edit existing expressions.

To select a database query

  1. In the Edit menu, select the Edit database query item.
  2. On the left-hand side of the Edit database queries dialog, mark a database query list.
  3. Perform one of the following tasks:
    1. Overwrite the database expression name in the Identifier.
    2. Enter explanatory text in Description.
    3. Edit the SQL expression.
    4. Select or de-select other dialog groups.
    5. Select or de-select all dialog groups.
    6. Test the expression by clicking on Test statement... and enter a parameter value in the next dialog.
  4. Save the changes.

Loading a historical object state

You can reset the state of a database object in a collection if you have enable recording of historical data in the database.

To reset a database object to a previous state

  1. Add a database collection.

    For more information, see "Database objects" as a collection.

  2. Add the Load objects including history action to an action node.
  3. At this node, select the collect.
  4. Choose between two options:
    1. Select Load objects including history to load historical object statuses for an individual object.

      Here you can enter an object key (XObjectKey) that uniquely identifies the object.

    2. Select Load table with history to load historical table data.

      You can enter a column name and its value as restriction criteria.

NOTE: Once historical object states are loaded as described, you can simply set the collection to any point in time within the loaded time period.

  1. Add the action Set object to historical state on the action node.
  2. Select the collection.
  3. Enter the date under Date.

    The collection is set to the state that was current at that time.

Loading a change history

A change history contain a list of all operations recorded on a defined amount of data. You can load a change history into a special collection type designed for the purpose.

To define a collection for a change history

  1. Open the module or component to which to add the collection.
  2. Select the Collections node by right-clicking on it.
  3. Select the Change history option.
  4. Enter the name for the new collection in Identifier.
  5. In the Type field, select the type of change history.

To load a change history

  1. Right-click to select an action node.
  2. Select the Load change history action.
  3. Under Collection, select a collection.
  4. In the Type field, select the type of change history defined for the collection.

    NOTE: The setting in Type must be identical for the collection and the change history to be loaded.

  1. Enter the date up to which you want to load the change history in Load historical data back to (date).
  2. Select one of the following scenarios to continue:
    1. To load the change history of an individual object, enter the Web SQL expression of the (XObjectKey) object key of the required object.
    2. Enter the relevant table name to load the change history for a table or an assignment object.

    NOTE: Optionally, you can specify the column name and the value for a filter condition.

    TIP: Column-dependent references are advised for displaying historical data. For more information, see Column-dependent references.

View definitions

A collection layer view behaves in the same way as a database layer view. The content of the view is defined with a Web SQL expression. The view is updated during runtime. The view is automatically updated if the source data changes.

To add a view

  1. Select the Collections node by right-clicking on them.

  2. Select the Add collection data view action.

  3. In the Identifier field, enter your name for the new collection.

  4. In the View expression field, enter the Web SQL expression for representing the view content.

NOTE: Add a property with the matching data type for every view property in Web Designer.

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione