Difference between revisions of "Auto creation of a MetaClassScope"

DAK (Talk | contribs)
DAK (Talk | contribs)
(Functionality (Before Version 4.9))
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Version/ServerSince|4.8}} One of the [[Drag and Drop Actions]] in UBIK 3.7.1 and above is the automatic creation of new [[REFERENCEVIEWITEM|ReferenceViewItems]].  
+
{{Version/ServerSince|4.8}} One of the [[Drag and Drop Actions]] in UBIK 3.7.1 and above is the automatic creation of new MetaClass Scope.  
 +
 
  
<!-- DO NOT REMOVE THIS -->{{Template:HowTo/Begin}}<!-- DO NOT REMOVE THIS -->
 
  
= Instructions =
 
 
<!-- DO NOT MODIFY THE NAME OF THIS SECTION, BUT REMOVE IT IF NOT REQUIRED -->
 
<!-- DO NOT MODIFY THE NAME OF THIS SECTION, BUT REMOVE IT IF NOT REQUIRED -->
== Trigger ==
+
==Creation of a MetaClass Scope for a Context==
 +
===Functionality (Before Version 4.9)===
 +
This Drag and Drop Action first looks for an identical MetaClassScope. Only if no matching scope exists, the action creates a suitable MetaClassScope. Otherwise [https://wiki.augmensys.com/index.php?title=Auto_creation_of_a_MetaClassScope#Adding_an_existing_MetaClass_Scope_to_a_Context| Add fitting Scope to Context] will be executed.
 +
The  Drag and Drop Action will only add non-Signature MetaProperties. The MetaProperties "Tenant" and "Namespace" are excluded.
 +
Also the following RelationProperties will be set to to their default value:
 +
* Priority -> 0
 +
* Lockstatus -> Read
 +
* Visibility -> Visible
 +
* Sort Order -> 0
 +
* Compare Value -> DoNotCompareValue
 +
 
 +
 
 +
===Functionality (from Version 4.9 onwards)===
 +
This Drag and Drop Action first looks for an identical MetaClassScope. Only if no matching scope exists, the action creates a suitable MetaClassScope.
 +
A "Detail Configuration" will appear where the user can specify following things:
 +
* Name of the MetaClassScope
 +
* Description of the MetaClassScope
 +
* MetaProperties to be scoped
 +
* Status of MetaProperty e.g. ReadOnly, ReadWrite etc.
 +
* MetaProperties to be hidden
  
It can be triggered by dragging the designated child MetaClass onto the designated parent MetaClass. Confirm your decision to create a [[REFERENCEVIEWITEM|ReferenceViewItem]] by clicking on the upcoming context menu item “Create Reference View Item and add it to a View”.
 
  
[[File:DragDropViewItem.png]]
+
[[File:MetaClassScopeConfiguration.png]]
  
== Link property selection ==
 
  
There are three possible outcomes for the choice of the link property:
+
===Trigger===
# If there does not exist any fitting reference link property on the dragged MetaClass you will get a warning message that you will have to create one and enter its name into the “Reference” property of the just created [[REFERENCEVIEWITEM|ReferenceViewItem]] manually.
+
Can be triggered by dragging a MetaClass over a Context when no fitting MetaClassScope is existing.
# If there already is a fitting link property on the dragged MetaClass, this one will be used automatically.
+
Confirm your decision to create a MetaClassScope by clicking on the upcoming context menu item "Create a Scope and adds it to the Context".
# If more than one fitting link property exist, you will be asked which one you want to use as reference. You can select one by clicking on its Radiobutton (you can only select one item) then confirm your choice with "OK". If you do not want to use one of these properties you can just close the window and the Reference property of the [[REFERENCEVIEWITEM|ReferenceViewItem]] will be left empty.
+
  
[[File:SingleselectionWindow.png]]
+
[[File:CreateAScopeAndAddItToTheContext2.png]]
  
== View selection ==
 
  
After that a second Window will appear where you can choose multiple existing [[VIEW|Views]] to which you want to add the just created [[REFERENCEVIEWITEM|ReferenceViewItem]] by checking them and confirming with the "OK" button. If you do not want to add the [[REFERENCEVIEWITEM|ReferenceViewItem]] to a [[VIEW|View]], you can just close the window.
+
==Adding an existing MetaClass Scope to a Context==
 +
===Functionality===
 +
Adds a fitting MetaClass Scope that already exists to the Context.
  
[[File:MultipleselectionWindow.png]]
+
===Trigger===
 +
Can be triggered by dragging a MetaClass Scope over a Context when a fitting MetaClassScope is existing.
 +
Confirm your decision to create a MetaClassScope by clicking on the upcoming context menu item "Add fitting scope to Context".
  
The process is done and a [[REFERENCEVIEWITEM|ReferenceViewItem]] is created and added to the [[VIEW|Views]] automatically. The changes are saved automatically.
+
[[File:AddFittingScopetoContext.png]]
  
<!-- DO NOT REMOVE THIS -->{{Template:HowTo/End}}<!-- DO NOT REMOVE THIS -->
 
  
==See also==
+
=See also=
 
<!-- DO NOT MODIFY THE NAME OF THIS SECTION, BUT REMOVE IT IF NOT REQUIRED -->
 
<!-- DO NOT MODIFY THE NAME OF THIS SECTION, BUT REMOVE IT IF NOT REQUIRED -->
 
* [[HowTo:Create a new ViewItem]]
 
* [[HowTo:Create a new ViewItem]]
 
* [[HowTo:Create a new View]]
 
* [[HowTo:Create a new View]]
 
* [[Drag and Drop Actions]]
 
* [[Drag and Drop Actions]]

Latest revision as of 11:56, 18 March 2025

One of the Drag and Drop Actions in UBIK 3.7.1 and above is the automatic creation of new MetaClass Scope.


Creation of a MetaClass Scope for a Context

Functionality (Before Version 4.9)

This Drag and Drop Action first looks for an identical MetaClassScope. Only if no matching scope exists, the action creates a suitable MetaClassScope. Otherwise Add fitting Scope to Context will be executed. The Drag and Drop Action will only add non-Signature MetaProperties. The MetaProperties "Tenant" and "Namespace" are excluded. Also the following RelationProperties will be set to to their default value:

  • Priority -> 0
  • Lockstatus -> Read
  • Visibility -> Visible
  • Sort Order -> 0
  • Compare Value -> DoNotCompareValue


Functionality (from Version 4.9 onwards)

This Drag and Drop Action first looks for an identical MetaClassScope. Only if no matching scope exists, the action creates a suitable MetaClassScope. A "Detail Configuration" will appear where the user can specify following things:

  • Name of the MetaClassScope
  • Description of the MetaClassScope
  • MetaProperties to be scoped
  • Status of MetaProperty e.g. ReadOnly, ReadWrite etc.
  • MetaProperties to be hidden


MetaClassScopeConfiguration.png


Trigger

Can be triggered by dragging a MetaClass over a Context when no fitting MetaClassScope is existing. Confirm your decision to create a MetaClassScope by clicking on the upcoming context menu item "Create a Scope and adds it to the Context".

CreateAScopeAndAddItToTheContext2.png


Adding an existing MetaClass Scope to a Context

Functionality

Adds a fitting MetaClass Scope that already exists to the Context.

Trigger

Can be triggered by dragging a MetaClass Scope over a Context when a fitting MetaClassScope is existing. Confirm your decision to create a MetaClassScope by clicking on the upcoming context menu item "Add fitting scope to Context".

AddFittingScopetoContext.png


See also

Help improve this page!

Keep track of this page and all changes to it.