Virtual Entities

A Virtual Entity is a logical grouping of information, from multiple sources, into re-usable Views. Virtual Entities enable Configuration Consultants or Citizen Developers to use a single configuration structure and integration mechanisms that facilitates re-use and re-factoring.

Standard XMPro Integration using XMConnect can be illustrated in the following figure.

StandardXMProIntegrationUsingXMConnect

Integration using Virtual Entities can be illustrated in the following figure.

IntegrationUsingVirtualEntities

The Virtual Entity Structure is shown in the following figure.

VirtualEntityStructure

A Virtual Entities View can be built up from information in different tables and fields or objects and properties.

How to Configure Virtual Entities using the Virtual Entity Editor

xmd_VirtualEntities_AddVirtualEntity

  1. Click the Wizards tab on the Menu Bar to Access the Editor.
  2. Click the Virtual Entity Wizards icon as indicated in the previous figure (once created a Virtual Entity can be used on Activity level by navigating to the required Activity.
  3. Click the xmd_XMProIntegrationWizard_AddIcon Plus Sign to Add a Virtual Entity.

xmd_VirtualEntityEditor

Virtual Entities can be created (new), updated, or deleted.

  1. Select the Connector and relevant source objects:

xmd_VirtualEnitiyEditor_EntityMappings

  1. Select the relevant operations (one or more) – Read, Insert, Update, Delete, Export to Excel, Import from Excel. An optional filter can be specified that will restrict the returned data set. Export or Import from Excel is specific to the SQL Connector whereas entities can use a variety of connectors.

xmd_VirtualEnitiyEditor_EntityMappings2

  1. Map the inputs and outputs of the operation to the Entity Properties.

xmd_VirtualEnitiyEditor_EntityMappings_EntityProperties

  1. Create the View.

xmd_VirtualEnitiyEditor_BusinessView

The Virtual Entity can now be used in Processes.

  1. Select xmd_XMProIntegrationWizard_AddIcon Add Virtual Entity on the activity editor in the Work Area as indicated in the example below.

xmd_VirtualEnitiy_AddVirtualEntity

  1. Select the Virtual Entity and Objects required.

xmd_VirtualEnitiy_VirtualEntitiesWizard_VirtualEntitiesTab

  1. Select the required Entity Operation(s) and click Next.

xmd_VirtualEnitiy_VirtualEntitiesWizard_EntityOperationsTab

  1. Select the Entity Views and click Next.

xmd_VirtualEnitiy_VirtualEntitiesWizard_EntityViewsTab

  1. Map the Properties to the Controls (objects) on your Activity (Screen).

xmd_VirtualEnitiy_VirtualEntitiesWizard_PropertyMappingsTab

  1. Click Finish to save the configuration.

xmd_VirtualEnitiy_VirtualEntitiesWizard_SaveTab

The Virtual Entity displayed on the Activity (screen):

xmd_VirtualEnitiy_VirtualEntityDisplayedOnActivity

The Virtual Entity in the XMPro Workspace

  1. Click Save and Refactor on the Virtual Entity Editor as indicated below to save to all the Activities.

xmd_VirtualEnitiyEditor_BusinessView_SaveAndRefactor

Considerations

  • If the Connector does not exist, it will need to be created first. Virtual Entities rely on Connectors to query data sources.
  • Objects within a Virtual Entity can be configured to use any operations that are provided by a specific Connector.
  • Each Object can make use of a different Connector and multiple operations from that Connector.
  • Access rights can be assigned to Connectors but not to Virtual Entity definitions.
  • Once data from a Virtual Entity is displayed on a form, those values can be used in:
    • Subsequent Virtual Entity operations and integration
    • Routing
    • Rules
    • Dynamic descriptions
    • Expressions
    • Virtual Entities are not directly linked to (or nested within) other Virtual Entities. Once data from a Virtual Entity is displayed on a form (screen) these values can be used in subsequent Virtual Entity operations and integration.

 

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X