General Information About Schema Mapping - Intergraph Smart Electrical - Help - Hexagon

Intergraph Smart Electrical Help

Language
English
Product
Intergraph Smart Electrical
Search by Category
Help
Smart Electrical Version
10

This topic provides general information about the mapping in Smart Electrical.

SmartPlant Adapter for Smart Electrical

Each authoring tool has an adapter that processes information during the publish and retrieve operations. One of the adapter's functions is to map information between the SmartPlant Foundation database and the particular authoring tool. The SmartPlant Adapter for Smart Electrical is a component that belongs to Smart Electrical and requires installation of Smart Electrical Version 2018 on Oracle 12c, or SQL Server 2014 or SQL Server 2016. Any communication between SmartPlant Foundation and Smart Electrical is performed via this adapter, which sends information to SmartPlant Foundation through the Common UI where the user is shown the appropriate user interface and data available.

The adapter does not handle tool schema files directly but uses them indirectly. The tool schema files are used to define the retrieve map file, which is then used by the adapter. Direct use of the schema files would mean that the adapter accessed them directly to do its work Both retrieve and publish operations only work through map files.

Mapping Configuration

The SmartPlant Adapter for Smart Electrical uses the tool schema map file and the Schema Editor, delivered with the SmartPlant Schema Component, to perform mapping between the Smart Electrical object structure and the structure of objects in the SmartPlant schema. The map file is installed with Smart Electrical Setup. This file includes all objects that are mapped for SmartPlant (not all objects that exist in Smart Electrical, not all properties, only those that can be of any relevance for other applications that use SmartPlant ). In accordance with the Smart Electrical data model, the Schema Editor knows what Smart Electrical object to put a property on.

Tool Schema Location

The name of the Smart Electrical tool schema file is SPELMap.xml. Smart Electrical uses this file for all types of published and retrieved documents. This file must exist in the installation home folder of Smart Electrical. The SPELMap.xml should be treated as an installation file. Although, using the Schema Editor, it is possible to change the content of the map file, the file name must remain SPELMap.xml.