Jump to: navigation, search

Difference between revisions of "HowTo:Set Up CUI Rest API"


(→‎Overview)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Overview==
 
==Overview==
−
The CUI -> "{{Comos}} {{UBIK}} Interface" is a Standard Data exchange function between the tow Systems {{Comos}} and {{UBIK}} it is a bidirectional Communication based on Comos WEB Rest API and a UBIK CUI Plugin.
 
  
−
For Comos make sure you have a working Installation of {{Comos}} and {{Comos Web}} with access to its {{Comos}} Database, you also need the License called “COMOS_Mobile_Worker_Server”
+
The COMOS®-UBIK® Interface (CUI) is a standard data exchange function between the {{COMOS}} and {{UBIK}} systems. It provides bidirectional communication based on the COMOS Web REST API and the UBIK CUI Plugin (UBIK.Interface.CUI.dll).
 +
<br>
  
−
On UBIK side to set it up please start with the Installation of UBIK, UBIK Database and its Web services and Enterprise Server(s)
+
For {{COMOS}}, make sure that you have a working installation of {{COMOS}} and COMOS Web with access to its {{COMOS}} database. You also need the license called "COMOS_Mobile_Worker_Server".
 +
<br>
 +
 
 +
On the UBIK side, start by installing {{UBIK}}, the UBIK database, its Web Services, and the Enterprise Server(s).
 +
<br>
  
 
* [[HowTo:Install_UBIK_Studio]]
 
* [[HowTo:Install_UBIK_Studio]]
Line 10: Line 14:
 
* [[HowTo:Install_UBIK_Web_Service]]
 
* [[HowTo:Install_UBIK_Web_Service]]
 
* [[Configure_Enterprise_Service_for_CUI]]
 
* [[Configure_Enterprise_Service_for_CUI]]
 +
<br>
  
−
After that you have to possible ways to go on, Create a {{UBIK}} MetaClass struct manually or via Import from {{Comos}}.
+
After that, you have two possible ways to proceed:
 +
* Create a {{UBIK}} MetaClass structure manually  
 +
* Import it from {{COMOS}}.
 +
<br>
 +
If you want to export data from {{COMOS}}, the first step is to review, update, or create the required templates as described in the PDF document available for download below:
 +
<br>
  
−
If you want to export from {{Comos}} the first step is to check, update or Create Templates, like in this description PDF:
+
* [[:File:Admin_Comos_UBIK_Interface_2025_10_EN.pdf]]
 +
<br>
 +
<br>
  
−
[[:File:Admin_Comos_UBIK_Interface_2025_10_EN.pdf]]
+
Once the template structure in COMOS includes all MetaClasses and properties required on the UBIK side, export these {{COMOS}} templates as meta information for {{UBIK}}.
 +
<br>
  
−
After Template Structure in {{Comos}} includes all the MetaClasses and Properties that you need on UBIK side, export these {{Comos}} Template as Meta information for UBIK:
+
In the standard COMOS iDB, there is a module section called M67 for COMOS Mobile Worker (UBIK). For a standard MRO use case, predefined templates are available.
 +
<br>
  
−
In Standard Comos iDB there is a new Module section M67 for Comos Mobile Worker (UBIK)
+
These templates are connected to COMOS CDevices that use Functional Classification C270 (iDB). For cDB installations, Classification C2 is available.
−
For a standard MRO Use case there are Templates Predefined, these Templates are connected to Comos CDevices that have the Functional Classification C270 (iDB) (for cDB there is a C2 Classification available).
+
<br>
−
Bevor, please make sure that the Project settings for CUI Interface are there and Active; you find them in Project settings an make sure that the Active checkbox on COMOS Mobile Worker Interface is checked.
+
  
−
First make sure the Interface is "Active" in Project settings of SO1 (or your used Workinglayer)
+
Before proceeding, make sure that the project settings for the CUI interface exist and are active. You can find them in the COMOS Project Settings.
 +
<br>
 +
 
 +
Also, make sure that the "Active" checkbox for the COMOS Mobile Worker Interface is selected.
 +
<br>
 +
 
 +
First, ensure that the interface is set to "Active" in the project settings of SO1 (or your selected working layer).
 +
<br>
  
 
[[File:Project_activation.png|400px]]
 
[[File:Project_activation.png|400px]]
 +
<br>
  
−
Next is to oben the ComosBaseObject in SO1, it should be found in iDB Databases at "@30|M67|A50|A20|A10", please make sure that the file path for the xml is existing and accessible.
+
Next, open the ComosBaseObject in SO1. It can be found in the iDB databases at "@30|M67|A50|A20|A10". Please ensure that the file path for the XML file exists.
 +
<br>
  
 
[[File:Export_from_Comos.png|400px]]
 
[[File:Export_from_Comos.png|400px]]
 +
<br>
  
−
To import in a UBIK Database you have to use {{UBIK}} Smart Studio [[Smart_Studio]]
+
To import the data into a {{UBIK}} database, use {{UBIK}} Smart Studio.
 +
<br>
  
 
* [[Smart_Modelling]]
 
* [[Smart_Modelling]]
−
 
 
* [[Setting_Up_UBIK_for_CUI]]
 
* [[Setting_Up_UBIK_for_CUI]]
 +
<br>

Latest revision as of 12:31, 22 September 2026

Overview

The COMOS®-UBIK® Interface (CUI) is a standard data exchange function between the COMOS® and UBIK® systems. It provides bidirectional communication based on the COMOS Web REST API and the UBIK CUI Plugin (UBIK.Interface.CUI.dll).

For COMOS®, make sure that you have a working installation of COMOS® and COMOS Web with access to its COMOS® database. You also need the license called "COMOS_Mobile_Worker_Server".

On the UBIK side, start by installing UBIK®, the UBIK database, its Web Services, and the Enterprise Server(s).


After that, you have two possible ways to proceed:

  • Create a UBIK® MetaClass structure manually
  • Import it from COMOS®.


If you want to export data from COMOS®, the first step is to review, update, or create the required templates as described in the PDF document available for download below:



Once the template structure in COMOS includes all MetaClasses and properties required on the UBIK side, export these COMOS® templates as meta information for UBIK®.

In the standard COMOS iDB, there is a module section called M67 for COMOS Mobile Worker (UBIK). For a standard MRO use case, predefined templates are available.

These templates are connected to COMOS CDevices that use Functional Classification C270 (iDB). For cDB installations, Classification C2 is available.

Before proceeding, make sure that the project settings for the CUI interface exist and are active. You can find them in the COMOS Project Settings.

Also, make sure that the "Active" checkbox for the COMOS Mobile Worker Interface is selected.

First, ensure that the interface is set to "Active" in the project settings of SO1 (or your selected working layer).

Project activation.png

Next, open the ComosBaseObject in SO1. It can be found in the iDB databases at "@30|M67|A50|A20|A10". Please ensure that the file path for the XML file exists.

Export from Comos.png

To import the data into a UBIK® database, use UBIK® Smart Studio.