Jump to: navigation, search

Difference between revisions of "UBIK Studio Basics"


(Database specific settings)
 
(151 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{UBIK}} Studio is the server application for creating and modifying {{UBIK}} object models. This section will provide you with general information on the user interface.  
+
{{UBIK}} Studio is the server application and administrative tool for creating and modifying {{UBIK}} object models. It enables you to transfer your entity-relationship-model into {{UBIK}} MetaClasses and MetaProperties and build up necessary relations. It is also the instrument of choice to manage instances of MetaClasses, edit their property values and create views and queries. This section will provide you with more information on the user interface.
 +
[[File:UI_Studio.png|thumb|220px|{{UBIK}} Studio]]
  
=== Prerequisites ===
+
== Prerequisites ==
----
+
==== Options ====
+
Locate and click the menu ''Edit->Options''. Press the ''Apply'' or ''OK'' Button when you're finished changing the settings, or ''Cancel'' if you don't want your changes to be saved. The settings are user-specific and will be stored in your local windows user profile.
+
[[File:USB_Options.png|thumb|upright|alt={{UBIK}} Studio options|{{UBIK}} Studio options]]
+
  
==== {{UBIK}} Studio controls ====
+
===Command line arguments===
The {{UBIK}} Studio provides a set of user controls for manipulating objects and data. Find a short list what each control is designated for
+
  
{| class="wikitable"
+
The following arguments can be passed to and will be recognized by the UBIK.Studio.exe:
 +
 
 +
{| class="wikitable" | width = "100%"
 
|-
 
|-
! Control !! Description
+
! Parameter!! Purpose
 
|-
 
|-
| „Class Browser“|| Navigate through the metaclasses and instances
+
| ''-NOCUSTOM''|| Don't attempt to load the customized object code
 
|-
 
|-
| „Class Details“|| Design metaclasses
+
| ''-NOCUSTOMUI''|| Don't attempt to load the customized UI elements
 
|-
 
|-
| „Content Editor“|| Create and edit instances
+
| ''-CUSTOMVERSION:version''|| Attempt to load a specific deployed ''version'' of the customizing instead of the currently released one. Use this option if you want to test a specific customizing, without releasing it to all users.
 
|-
 
|-
| „Code Editor“|| Implement customer specific functionality
+
| ''-CONNECTDB''|| Connects automatically to the most recently used database
 
|-
 
|-
| „Relation Editor“|| Relate objects and edit relational data
+
| ''-IGNOREUSAM''|| Ignores the Session Authorization and uses a fallback session if no authorization is granted by the [[USAM|Session]]
 
|-
 
|-
| „Object Explorer“|| Display and edit properties of objects (list style)
+
| ''-DBMAINTENANCE:activity''|| Starts {{UBIK}} Studio in maintenance mode. Possible activities are:
 +
1 = recompiling of system structures; 2 = recreate MetaProperty views; 3 = recompile database; 4=Transfer Data to Attributes.
 +
Please do not use this option if you do not have any knowledge about these activities.
 +
|-|-
 +
|}
 +
 
 +
{{Attention|Setting these command line arguments might changes the expected behavior of a data model significantly!}}
 +
 
 +
 
 +
 
 +
 
 +
=== Options ===
 +
[[File:UI_UBIKStudioOptions.png|thumb|220px|upright|alt={{UBIK}} Studio settings|{{UBIK}} Studio settings]]
 +
Locate and click the menu ''File → Options''. Press {{key press|Apply}} or {{key press|OK}} when you're finished changing the options, or {{key press|Cancel}} if you don't want your changes to be saved. The settings are user-specific and will be stored in your local Windows user profile.
 +
 
 +
In the options you can configure your database connection by the following parameters
 +
 
 +
{| class="wikitable" | width = "100%"
 
|-
 
|-
| „Object Editor“|| Graphical editor for changing object properties
+
! Parameter!! Purpose
 +
|-
 +
| ''AutoConnect''|| If set to true, the system will attempt to automatically connect to the configured database on start up
 +
|-
 +
| ''DataBase''|| The name of the instance on the SQL Server
 +
|-
 +
| ''DataSource''|| The name of the SQL Server (specify a server via host name, UNC, IP, ...)
 +
|-
 +
| ''Language''|| Set the desired database language in [http://en.wikipedia.org/wiki/ISO_639-1 ISO639-1] syntax
 +
|-
 +
| ''WindowsAuthentication''|| If set to true, the user and password parameter are ignored and UBIK tries to connect to the SQL Server using the Windows credentials. {{Version/ServerSince|2.5.1}}
 +
|-
 +
| ''User''|| SQL Server user name. Only used when WindowsAuthentication is set to false.
 +
|-
 +
| ''Password''|| SQL Server password. Only used when WindowsAuthentication is set to false.
 
|-
 
|-
| „Workflow Designer“|| Design customer specific workflows
 
 
|}
 
|}
  
====Editing objects in general====
+
Take care that the specified SQL user has appropriate permissions on the database.
Basically there are various ways to edit objects in the {{UBIK}} database, each applicable for both, meta- and content objects. Use the following controls to edit
+
 
{| class="wikitable"
+
Additional options are
 +
 
 +
{| class="wikitable" | width = "100%"
 
|-
 
|-
! Property !! Control
+
! Parameter!! Purpose
 
|-
 
|-
| Basic properties|| “Object Editor”, “Object Explorer”, “Content Editor”
+
| ''RecordLifeTime''|| Set how long records are valid before they will be requeried for changes by the kernel; -1 to turn off
 
|-
 
|-
| Relational data|| “Relation Editor”
+
| ''AutoSaveTime''|| Set how often {{UBIK}} Studio should save all unsaved objects automatically, in minutes; -1 to turn off
 
|-
 
|-
| Metaclass details|| “Class Details”
+
| ''NotifyOnError''|| Displays a notification if an error occurs; false to turn off
 +
|-
 +
| ''NotifyOnWarning''|| Displays a notification if a warning occurs; false to turn off
 
|-
 
|-
| Events / object methods|| “Code Editor"
 
 
|}
 
|}
All controls require a similar workflow
 
<div style="border: 1px solid black;">
 
# Open the control
 
# Set the object to be edited to the control via dragging the object and dropping it onto the control’s tab
 
# The corresponding edit functionality will be available then
 
</div>
 
  
====Creating and editing instances====
 
===Metaclasses===
 
----
 
====Create new metaclass====
 
# Create a new metaclass via „Derive new object“ from the context menu
 
# Open the control “Object Editor”
 
# Set the newly created metaclass to the control
 
# Set name, description and namespace
 
# Save the changes
 
  
====Technical implementation====
 
The system creates a new instance of “CUSTOMMETACLASS” and sets the “INHERIT” property to the metaclass the context menu was opened at. New derivates can be created for any system metaclasses as “BASECLASS”, “REFERENCE”, “SELECTIVELIST”, … etc.
 
  
===Metaproperties===
 
----
 
====Create new metaproperty====
 
A new metaproperty can be created and automatically assigned to a metaclass via the “Create new metraproperty” workflow. This workflow guides the user through the creation and configuration procedure of a metaproperty and relates it to the selected metaclass.
 
  
# Start Workflow “System / Create new metaproperty” from the context menu
+
===Database specific settings===
# Set at least name, description and data type
+
Once successfully connected to a database, the menu item ''Database &rarr; {database name} settings...'' becomes visible. As the name already states, these are settings that are specific to the very database you are connected to, hence changes also only apply to it.
# Change the metaproperty’s category if necessary
+
 
# Save the changes
+
The following parameters can be read, respectively edited here
# Optional configuration:
+
 
:: - Reference
+
{| class="wikitable" | width = "100%"
:: - Selective list
+
|-
:: - Unit item
+
! Parameter!! Purpose
:: - Format
+
|-
:: - Validation flag
+
| ''File store mode''|| readonly; ''UNC'' for a regular filesystem, ''Cloud'' for a cloud storage
:: - Numer of index keys
+
|-
:: - Default values
+
| ''Data path''|| The path to the root directory of the data storage for this database in ''UNC'' mode; In ''Cloud'' mode the path can be defined as a relative path within the specified cloud container, this parameter can be left empty when using its root directory level.
:: - Initial values
+
|-
 +
| ''CloudStorageAccount''|| The name of your storage account from your cloud service provider; only evaluated if ''File store mode'' is ''Cloud''
 +
|-
 +
| ''CloudStorageKey''|| The authorization key from your cloud service provider to access your cloud storage; only evaluated if ''File store mode'' is ''Cloud''
 +
|-
 +
| ''Cloud container name''|| The name of the root cloud container where files for this database will be placed; only evaluated if ''File store mode'' is ''Cloud''
 +
|-
 +
| ''Language count''|| readonly; The number of languages currently configured in {{UBIK}}
 +
|-
 +
| ''Date format''|| The date/time format to use in this database in [http://en.wikipedia.org/wiki/ISO_8601 ISO8601] syntax
 +
|-
 +
| ''Root-Metaclass for Metaproperties''|| readonly; The MetaClass where new Metaproperties will derive from
 +
|-
 +
| ''Root-Metaclass for metaclasses''|| readonly; The MetaClass where new MetaClass will derive from
 +
|-
 +
| ''SessionManagementType''|| Configure the type of session management that must be used by all UBIK sessions: 0 = Single Local Management, 1 = LAS, 2 = GAS
 +
|-
 +
| ''SessionServiceUrl[:Port]''|| If the SessionManagementType is configured to use a LAS or GAS, the ServiceUrl of the AS must be configure here. In the case of an Local management, this setting is ignored.<br />The port number ''Port'' must be specified only if other than 443 (default for https).
 +
|-
 +
| ''BinariesDeployment''|| Configure if the customizing binaries are distributed via a server file share or database.
 +
|-
 +
| ''LocalFileDeployment''|| Configure if the local file documents are distributed via a server file share or database.
 +
|-
 +
| ''Database TimeZone''|| Configure the time zone informatoin date - values are stored in the sql database. The default value is UTC
 +
|-
 +
|}
 +
 
 +
[[Category:2.5.1|UBIK Studio Basics]]
 +
[[Category:Studio|UBIK Studio Basics]]
 +
 
 +
==Working with {{UBIK}} Studio==
 +
=== Basic UI elements ===
 +
====Menu and toolbar====
 +
The top area of {{UBIK}} Studio features a menu strip:
 +
 
 +
{| class="wikitable" | width = "100%"
 +
|-
 +
! Menu!!Menu item!!Shortcut!! Purpose
 +
|-
 +
| rowspan = "6" | ''File'' || ''New'' || {{key press|Ctrl|N}} || No purpose yet
 +
|-
 +
| ''Open Database'' ||{{key press|Ctrl|O}} || Clicking the item itself will attempt to open the last configured database connection, its sub menu items will show the most recently used connections
 +
|-
 +
| ''Clear recent list'' ||-|| Clears the list of recently used database connections
 +
|-
 +
| ''Save All'' || {{key press|Ctrl|S}} || Saves all unsaved objects of the current session to the database
 +
|-
 +
| ''Options...'' ||-|| Opens the [[#Options|Options]] dialog
 +
|-
 +
| ''Exit'' ||-|| Closes {{UBIK}} Studio
 +
|-
 +
| rowspan = "5" | ''Database''
 +
|-
 +
| ''{database name} settings...'' ||-|| Opens the [[#Database specific settings|specific settings dialog for the currently connected database]]; will only appear once you successfully connected to a database
 +
|-
 +
| ''Manage Database...'' ||-|| Opens the [[Database Manager|Management dialog for the current database]]; will also appear if connection to the database failed
 +
|-
 +
| ''Sessions...'' ||-|| Opens the [[Session Manager|Management dialog for the current database sessions]]; this menu entry is only available if there is session management configured in the database settings
 +
|-
 +
| ''Custom System Objects...'' ||-|| Opens the [[Custom System Objects Dialog|Management dialog for custom system objects]]; will only appear once you successfully connected to a database
 +
|-
 +
| rowspan = "2" | ''Build''|| ''Rebuild...'' ||{{key press|F6}}|| Assembles the entire customizing code and displays the result in the [[Compiler|compiler window]]
 +
|-
 +
| ''Rebuild and download...'' ||{{key press|Ctrl|F6}} || Assembles the entire customizing code and attempts to deploy it according to the current database settings
 +
|-
 +
| rowspan = "5" | ''Tools''
 +
|-
 +
| ''View Test Environment...'' ||{{key press|F6}}|| Opens the [[View Test Environment]] window
 +
|-
 +
| ''Interface Manager...'' ||{{key press|F10}}|| Opens the [[Interface Manager]] window
 +
|-
 +
| ''ACM Manager...'' ||{{key press|F11}}|| Opens the [[ACM Manager]] window
 +
|-
 +
| ''Who-Bert'' ||{{key press|F12}}|| Opens the [[Debugger|Code and Workflow debugging]] window
 +
|-
 +
| rowspan = "4" | ''View''|| ''New Working Window'' ||{{key press|Ctrl|W}}|| Opens a new working window to host additional controls
 +
|-
 +
| ''Unsaved Objects Hierarchy'' ||{{key press|Ctrl|U}}|| Opens a window showing all currently changed, yet unsaved objects in a hierarchical style
 +
|-
 +
| ''Plugins'' ||-|| Opens the [[Plugin Modules]] window showing all currently loaded UBIK Plugins
 +
|-
 +
| ''Event Tracer'' ||-|| Opens the [[Event Tracer]] window showing all events (errors, warnings, messages) that occured while running the Studio session
 +
|-
 +
| rowspan = "3" | ''Help''|| ''UBIK Wiki'' ||{{key press|F1}}|| Opens the {{UBIK}} Wiki, meaning the root of this document
 +
|-
 +
| ''UBIK Class Documentation'' ||{{key press|Ctrl|F1}}|| Opens the help file with the {{UBIK}} Class Documentation
 +
|-
 +
| ''About'' ||-|| Opens a dialog with Version and [[Licensing]] information
 +
|-
 +
|}
 +
 
 +
====Status strip====
 +
The very bottom of the {{UBIK}} Studio window displays a status strip, providing the following information, from left to right:
 +
 
 +
{| class="wikitable" | width = "100%"
 +
|-
 +
! Initial value!! Purpose
 +
|-
 +
| ''DB''|| Current database: once connected, it will show the connection in the format ''Instance''@''Server''
 +
|-
 +
| ''NOT INITIALIZED''|| Current [[customizing|Customizing]]: when successfully loaded, it will display the version information of the instantiated customizing assembly, -1.-1.-1 if loading failed
 +
|-
 +
| ''CULTURE''|| Current language and culture in [http://en.wikipedia.org/wiki/ISO_639-1 ISO639-1] format
 +
|-
 +
| ''SESSION MANAGEMENT TYPE''|| Displays the type of session management in the current database; Doubleclicking the item opens the [[Session_Manager|Session Manager Dialog]] for all sessions in the current database if a multi-session management type is used
 +
|-
 +
| ''SESSION''|| Displays the name of the [[login|Login]] of the current [[session|Session]]; Right click on this item to switch into [[#Admin mode|Admin mode]]
 +
|-
 +
|}
 +
 
 +
=== Status Notification ===
 +
[[File:UI_StatusNotification.png|thumb|220px|upright|alt={{UBIK}} Studio status notification|{{UBIK}} Studio status notification]]
 +
{{UBIK}} Studio informs the user about important events happening within the UBIK system.Therefore the Status strip has a notification area on the right showing a yellow notification icon once there has occured an event the user should be aware of. These events are warning and error messages or also a reminder from the {{UBIK}} Customizing Control to rebuild changed customizing code in order to provide the expected system behaviour. If there is a certain action involved to handle this notification, it is possible to get there immediately (e.g. open the [[Event Tracer]] window to review a warning) by clicking on the notification icon itself.
 +
 
 +
=== Working area and controls ===
 +
[[File:UI_UBIKStudio.png|thumb|220px|upright|alt={{UBIK}} Studio main window|{{UBIK}} Studio main window]]
 +
The main window of {{UBIK}} Studio is split into 3 sections, where each of the 3 areas can hold an arbitrary amount of controls. The arrangement of the controls is user specific and can be saved in the user's profile. In addition to the predefined sections, the user interface can be extended with working windows, where each working window can again hold any amount of controls:
 +
 
 +
:''View &rarr; New Working Window'' or {{key press|Ctrl|W}}
 +
 
 +
However, such working windows are considered temporary and are therefore not made persistent when the layout is saved.
 +
 
 +
====Using and connecting controls====
 +
Each control provides different functionality for object creation/modification. Clicking the header of an empty tab strip in one of these areas with the left mouse button will bring up a context menu, that allows you to create a new tab page hosting one of the following controls:
 +
 
 +
[[File:UI_UBIKControlsOverview.png|thumb|220px|upright|alt={{UBIK}} Studio controls|{{UBIK}} Studio controls]]
 +
 
 +
{| class="wikitable" | width = "100%"
 +
|-
 +
! Control !! Preview !! Purpose
 +
|-
 +
| ''[[Class Browser]]''|| [[File:UI_ClassBrowser.png|220x140px]]  || Navigate through, create and delete MetaClasses and instances
 +
|-
 +
| ''[[Class Details]]''|| [[File:UI_ClassDetails.png|220x140px]] || Design MetaClasses in their details; add/remove MetaProperties and classifications
 +
|-
 +
| ''[[Bulk Editor]]''|| [[File:UI_BulkEditor.png|220x140px]] || Create and edit multiple instances of a MetaClass in table style
 +
|-
 +
| ''[[Code Editor]]''|| [[File:UI_CodeEditor.png|220x140px]] || Implement MetaClass specific functionality using C#
 +
|-
 +
| ''[[Relation Editor]]''|| [[File:UI_RelationEditor.png|220x140px]] || Relate objects to each others and edit relational data
 +
|-
 +
| ''[[Object Explorer]]''|| [[File:UI_ObjectExplorer.png|220x140px]] || Display and edit all exposed properties of objects (list style)
 +
|-
 +
| ''[[Object Editor]]''|| [[File:UI_ObjectEditor.png|220x140px]] || Edit the property values of a single object
 +
|-
 +
| ''[[Workflow Editor]]''|| [[File:UI_WorkflowEditor.png|220x140px]] || View, design and run customer specific workflows
 +
|}
 +
 
 +
All controls in the {{UBIK}} working area offer the following interaction functionality:  
 +
* Set a control as [[ListenTo]] source of another control by dragging an object from the source control and drop it on the header of the hosting tab of the target control
 +
* Release ListenTo by clicking the respective header and selecting the ''ListenTo: control name'' menu item
 +
* Reconnect to the last known ListenTo source (if applicable) by selecting the ''Reconnect to:'' menu item
 +
* Close a control by right clicking the tab header and selecting the ''Close'' menu item.
 +
 
 +
{{Hint|Drag&Drop with the right mouse button to only set the context object of a control, without connecting ListenTo}}
 +
{{Hint|Drag&Drop an object at an empty tab strip will let you select the control afterwards and subsequently sets the context object}}
 +
 
 +
 
 +
 
 +
===User rights===
 +
As of now, {{UBIK}} Studio doesn't feature a real user management system for designing data models. Although there is a distinction made between an admin and a non-admin user, with the very purpose of protecting system objects against unintended manipulation.
 +
 
 +
However, {{UBIK}} fetches the current Windows user and creates the environment with this credentials, storing the login information on a [[Session|session]] object.
 +
 
 +
====Admin mode====
 +
[[File:UI_Property_editable_05.PNG|220 px|thumb|border|alt=Admin mode|Admin mode]]
 +
Right click on the user name in the status strip and select the menu item ''Admin mode'' to switch all active controls to [[Admin mode|admin mode]]. As long as you are in admin mode, the user name in the status strip will appear red.
 +
 
 +
{{Attention|Be careful, manipulating system objects might results in instability of {{UBIK}} Studio or other {{UBIK}} components!}}
 +
 
  
====Technical implementation====
 
Without the workflow the user has to complete the following steps:
 
  
Step 1: Create new metaproperty instance
 
# Navigate to the metaclass “CUSTOMMETAPROPERTY”
 
# Create a new instance
 
# Set at least name, description and data type
 
# Change the metaproperty’s category if necessary
 
# Save the changes
 
# Optional configuration:
 
:: - Reference
 
:: - Selective list
 
:: - Unit item
 
:: - Format
 
:: - Validation flag
 
:: - Numer of index keys
 
:: - Default values
 
:: - Initial values
 
  
Step 2: Relate the instance of metaproperty to a metaclass
+
==See also==
# Open the control “Class Details”
+
* [[:Category:Studio controls|Studio controls]]
# Set the designated metaclass to the control
+
* [[HowTo:Install_UBIK_Studio|How to install UBIK Studio]]
# Add the metaproperty either by dragging and dropping the metaproperty’s instance onto the metaclass or by clicking the [[File:PlusGreen.png|20px|Add metaproperty button]] button in the menu
+
* [[UBIK_Console]]
# By clicking on the [[File:PlusGreen.png|20px|Add metaproperty button]] button the user has to navigate through the hierarchy to the appropriate metaproperty
+
  
===Inheritance===
+
{{Category/Version|2.5.1}}
----
+
  
===Classification===
+
[[Category:2.5.1|UBIK Studio Basics]]
----
+
[[Category:Studio|UBIK Studio Basics]]

Latest revision as of 10:59, 22 December 2020

UBIK® Studio is the server application and administrative tool for creating and modifying UBIK® object models. It enables you to transfer your entity-relationship-model into UBIK® MetaClasses and MetaProperties and build up necessary relations. It is also the instrument of choice to manage instances of MetaClasses, edit their property values and create views and queries. This section will provide you with more information on the user interface.

UBIK® Studio

Prerequisites

Command line arguments

The following arguments can be passed to and will be recognized by the UBIK.Studio.exe:

Parameter Purpose
-NOCUSTOM Don't attempt to load the customized object code
-NOCUSTOMUI Don't attempt to load the customized UI elements
-CUSTOMVERSION:version Attempt to load a specific deployed version of the customizing instead of the currently released one. Use this option if you want to test a specific customizing, without releasing it to all users.
-CONNECTDB Connects automatically to the most recently used database
-IGNOREUSAM Ignores the Session Authorization and uses a fallback session if no authorization is granted by the Session
-DBMAINTENANCE:activity Starts UBIK® Studio in maintenance mode. Possible activities are:

1 = recompiling of system structures; 2 = recreate MetaProperty views; 3 = recompile database; 4=Transfer Data to Attributes. Please do not use this option if you do not have any knowledge about these activities.

IC Attention.pngSetting these command line arguments might changes the expected behavior of a data model significantly!



Options

UBIK® Studio settings
UBIK® Studio settings

Locate and click the menu File → Options. Press Apply or OK when you're finished changing the options, or Cancel if you don't want your changes to be saved. The settings are user-specific and will be stored in your local Windows user profile.

In the options you can configure your database connection by the following parameters

Parameter Purpose
AutoConnect If set to true, the system will attempt to automatically connect to the configured database on start up
DataBase The name of the instance on the SQL Server
DataSource The name of the SQL Server (specify a server via host name, UNC, IP, ...)
Language Set the desired database language in ISO639-1 syntax
WindowsAuthentication If set to true, the user and password parameter are ignored and UBIK tries to connect to the SQL Server using the Windows credentials.
User SQL Server user name. Only used when WindowsAuthentication is set to false.
Password SQL Server password. Only used when WindowsAuthentication is set to false.

Take care that the specified SQL user has appropriate permissions on the database.

Additional options are

Parameter Purpose
RecordLifeTime Set how long records are valid before they will be requeried for changes by the kernel; -1 to turn off
AutoSaveTime Set how often UBIK® Studio should save all unsaved objects automatically, in minutes; -1 to turn off
NotifyOnError Displays a notification if an error occurs; false to turn off
NotifyOnWarning Displays a notification if a warning occurs; false to turn off



Database specific settings

Once successfully connected to a database, the menu item Database → {database name} settings... becomes visible. As the name already states, these are settings that are specific to the very database you are connected to, hence changes also only apply to it.

The following parameters can be read, respectively edited here

Parameter Purpose
File store mode readonly; UNC for a regular filesystem, Cloud for a cloud storage
Data path The path to the root directory of the data storage for this database in UNC mode; In Cloud mode the path can be defined as a relative path within the specified cloud container, this parameter can be left empty when using its root directory level.
CloudStorageAccount The name of your storage account from your cloud service provider; only evaluated if File store mode is Cloud
CloudStorageKey The authorization key from your cloud service provider to access your cloud storage; only evaluated if File store mode is Cloud
Cloud container name The name of the root cloud container where files for this database will be placed; only evaluated if File store mode is Cloud
Language count readonly; The number of languages currently configured in UBIK®
Date format The date/time format to use in this database in ISO8601 syntax
Root-Metaclass for Metaproperties readonly; The MetaClass where new Metaproperties will derive from
Root-Metaclass for metaclasses readonly; The MetaClass where new MetaClass will derive from
SessionManagementType Configure the type of session management that must be used by all UBIK sessions: 0 = Single Local Management, 1 = LAS, 2 = GAS
SessionServiceUrl[:Port] If the SessionManagementType is configured to use a LAS or GAS, the ServiceUrl of the AS must be configure here. In the case of an Local management, this setting is ignored.
The port number Port must be specified only if other than 443 (default for https).
BinariesDeployment Configure if the customizing binaries are distributed via a server file share or database.
LocalFileDeployment Configure if the local file documents are distributed via a server file share or database.
Database TimeZone Configure the time zone informatoin date - values are stored in the sql database. The default value is UTC

Working with UBIK® Studio

Basic UI elements

Menu and toolbar

The top area of UBIK® Studio features a menu strip:

Menu Menu item Shortcut Purpose
File New Ctrl+N No purpose yet
Open Database Ctrl+O Clicking the item itself will attempt to open the last configured database connection, its sub menu items will show the most recently used connections
Clear recent list - Clears the list of recently used database connections
Save All Ctrl+S Saves all unsaved objects of the current session to the database
Options... - Opens the Options dialog
Exit - Closes UBIK® Studio
Database
{database name} settings... - Opens the specific settings dialog for the currently connected database; will only appear once you successfully connected to a database
Manage Database... - Opens the Management dialog for the current database; will also appear if connection to the database failed
Sessions... - Opens the Management dialog for the current database sessions; this menu entry is only available if there is session management configured in the database settings
Custom System Objects... - Opens the Management dialog for custom system objects; will only appear once you successfully connected to a database
Build Rebuild... F6 Assembles the entire customizing code and displays the result in the compiler window
Rebuild and download... Ctrl+F6 Assembles the entire customizing code and attempts to deploy it according to the current database settings
Tools
View Test Environment... F6 Opens the View Test Environment window
Interface Manager... F10 Opens the Interface Manager window
ACM Manager... F11 Opens the ACM Manager window
Who-Bert F12 Opens the Code and Workflow debugging window
View New Working Window Ctrl+W Opens a new working window to host additional controls
Unsaved Objects Hierarchy Ctrl+U Opens a window showing all currently changed, yet unsaved objects in a hierarchical style
Plugins - Opens the Plugin Modules window showing all currently loaded UBIK Plugins
Event Tracer - Opens the Event Tracer window showing all events (errors, warnings, messages) that occured while running the Studio session
Help UBIK Wiki F1 Opens the UBIK® Wiki, meaning the root of this document
UBIK Class Documentation Ctrl+F1 Opens the help file with the UBIK® Class Documentation
About - Opens a dialog with Version and Licensing information

Status strip

The very bottom of the UBIK® Studio window displays a status strip, providing the following information, from left to right:

Initial value Purpose
DB Current database: once connected, it will show the connection in the format Instance@Server
NOT INITIALIZED Current Customizing: when successfully loaded, it will display the version information of the instantiated customizing assembly, -1.-1.-1 if loading failed
CULTURE Current language and culture in ISO639-1 format
SESSION MANAGEMENT TYPE Displays the type of session management in the current database; Doubleclicking the item opens the Session Manager Dialog for all sessions in the current database if a multi-session management type is used
SESSION Displays the name of the Login of the current Session; Right click on this item to switch into Admin mode

Status Notification

UBIK® Studio status notification
UBIK® Studio status notification

UBIK® Studio informs the user about important events happening within the UBIK system.Therefore the Status strip has a notification area on the right showing a yellow notification icon once there has occured an event the user should be aware of. These events are warning and error messages or also a reminder from the UBIK® Customizing Control to rebuild changed customizing code in order to provide the expected system behaviour. If there is a certain action involved to handle this notification, it is possible to get there immediately (e.g. open the Event Tracer window to review a warning) by clicking on the notification icon itself.

Working area and controls

UBIK® Studio main window
UBIK® Studio main window

The main window of UBIK® Studio is split into 3 sections, where each of the 3 areas can hold an arbitrary amount of controls. The arrangement of the controls is user specific and can be saved in the user's profile. In addition to the predefined sections, the user interface can be extended with working windows, where each working window can again hold any amount of controls:

View → New Working Window or Ctrl+W

However, such working windows are considered temporary and are therefore not made persistent when the layout is saved.

Using and connecting controls

Each control provides different functionality for object creation/modification. Clicking the header of an empty tab strip in one of these areas with the left mouse button will bring up a context menu, that allows you to create a new tab page hosting one of the following controls:

UBIK® Studio controls
UBIK® Studio controls
Control Preview Purpose
Class Browser UI ClassBrowser.png Navigate through, create and delete MetaClasses and instances
Class Details UI ClassDetails.png Design MetaClasses in their details; add/remove MetaProperties and classifications
Bulk Editor UI BulkEditor.png Create and edit multiple instances of a MetaClass in table style
Code Editor UI CodeEditor.png Implement MetaClass specific functionality using C#
Relation Editor UI RelationEditor.png Relate objects to each others and edit relational data
Object Explorer UI ObjectExplorer.png Display and edit all exposed properties of objects (list style)
Object Editor UI ObjectEditor.png Edit the property values of a single object
Workflow Editor UI WorkflowEditor.png View, design and run customer specific workflows

All controls in the UBIK® working area offer the following interaction functionality:

  • Set a control as ListenTo source of another control by dragging an object from the source control and drop it on the header of the hosting tab of the target control
  • Release ListenTo by clicking the respective header and selecting the ListenTo: control name menu item
  • Reconnect to the last known ListenTo source (if applicable) by selecting the Reconnect to: menu item
  • Close a control by right clicking the tab header and selecting the Close menu item.
IC Hint square.pngDrag&Drop with the right mouse button to only set the context object of a control, without connecting ListenTo
IC Hint square.pngDrag&Drop an object at an empty tab strip will let you select the control afterwards and subsequently sets the context object


User rights

As of now, UBIK® Studio doesn't feature a real user management system for designing data models. Although there is a distinction made between an admin and a non-admin user, with the very purpose of protecting system objects against unintended manipulation.

However, UBIK® fetches the current Windows user and creates the environment with this credentials, storing the login information on a Session object.

Admin mode

Admin mode
Admin mode

Right click on the user name in the status strip and select the menu item Admin mode to switch all active controls to Admin mode. As long as you are in admin mode, the user name in the status strip will appear red.

IC Attention.pngBe careful, manipulating system objects might results in instability of UBIK® Studio or other UBIK® components!



See also