Create Virtual Entities

This procedure describes how to create virtual entities based on a connection to a data source.

  1. On the Metadata Insights ribbon, click Model.
  2. Click the Data Hub Model tab.
  3. In the Name column, click the model name to which you want to add virtual metadata.
  4. Click the Hub Schema tab.
  5. Drag an entity icon from the Entities panel to the model canvas.
    This displays the entity Properties panel.
  6. In the Entity Name box, type a meaningful name for the entity.
  7. Click the Virtual Entity box to switch it to True.
    A blue box on the entity icon that you dragged to the canvas denotes that it is a virtual entity.
  8. In the Connection box, click the source for the federated (or virtual data).
    This is a connection created in Management Console to a Virtual Data Source. For more information, see Data Source connections.
  9. In the Schema box, select the schema containing the table that you want to use.
  10. In the Table box, select the name of the baseview or metaview Table whose properties you want to use for this entity.
    This populates the property Name and Data Type columns of the entity properties table.
  11. In the Primary Key box, select the property for the primary key.
    For each entity, the data in this field will become its label and its _stp_id within the model.
    For example, if a property named "Customer ID" is selected as the primary key, the label for each entity of this type will be its customer ID.
  12. You can uncheck the check box for properties that you do not want to include in the entity.
  13. Repeat steps 5 through 12 to add additional virtual entities.

After you add virtual entities to a Data Hub, you can add relationships to connect them to other entities. For more information, see Connect relationships to virtual entities.