4.4.4 Extending a Logical Model
In a multi-tenant environment, you can provide a different logical model to each tenant. Each logical model can provide access to a tenant-specific physical view that draws data from a tenant-specific database connection.
To create a tenant-specific logical model, extend an existing logical model by linking the model to an existing extended physical view. Follow the steps below:
1. Open the Asset panel, and expand the 'Data Source' node.
2. Right-click on the base logical model that you wish to extend, and select 'Add Extended Model' from the context menu. This opens the 'Extended Model' dialog box.

Note: An extended model is associated with one (and only one) connection and physical view. Likewise, a connection can be associated with only one extended model.
3. In the 'Extended Model' dialog box, choose a connection option for the new extended model, and click 'OK'. (You can select the default connection for the data source, or any of the additional connections.)

This adds the new extended model under the 'Data Source' node, and opens the extended model for editing.

The View panel displays the tables and columns that are available from the corresponding extended physical view. The right panel displays entities and attributes that are inherited from the base model.

Note that entities and attributes which are inherited from the base logical model cannot be modified within the extended model. However, you can hide an inherited property by disabling its 'Visible' option. (See Modifying Entities and Attributes for more information.)
4. Drag tables or columns from the View panel into the model panel to add new entities and attributes, or to extend inherited entities. (See Creating a Logical Model for more information about creating entities and attributes.)
5. When you have finished defining the extended model, click the 'Save' button in the Style Studio toolbar.
You can now expose this extended model to particular tenants by setting user or group permissions on the corresponding connection. See Component/Object Permissions in the Administration Reference for more information on authorizing connection access.
See Also
Adding Additional Connections, for information on configuring connections.
Extending a Physical View, for information on adding an extended view.
Creating a Logical Model, for information on creating the base logical model.
| << 4.4.3 Adding a Format to a Data Field | © 1996-2013 InetSoft Technology Corporation (v11.5) | 4.5 Independent Query >> |