Jump to: navigation, search

Changes


UBIK WinX Client Basics

1,587 bytes added, 10:36, 13 November 2017
/* Editors */
===== Geo Editor & Teach In =====
 
==== Guid editor ====
[[File:Guid_property_dialog.PNG|thumb|border|alt=Guid property editor dialog|Guid property editor dialog]]
 
To edit Guid properties (that do not have a selective list available), we have implemented a special system. Since a Guid property always just contains the Guid as a reference to another object, we can use a query to find the object we want to assign to this property.
 
When the Guid property has a FilterQuery datamember (which should contain the guid of a query), it will become editable through this query. Note that this FilterQuery guid will not actually be visible in the client. All this should be setup in the backend, the client has no control over this.
 
When clicking an editable Guid property, you will see a dialog with the 3 following buttons added (see image):
 
;View Object
:This button will be enabled when there is a valid guid assigned to the property. Clicking this button will immediately navigate to the referenced object.
;Edit Property
:If the property has a valid FilterQuery assigned to it, clicking this button will launch that query.
;Clear Property Value
:If the property has a guid assigned, the user can press this button to reset the value back to empty.
 
Once the user has launched the query, they can click any of the displayed items. When clicking one of them, it will immediately be set as the reference in the original Guid property. To cancel selecting an item (and stop editing the property), simply navigate to any other page (by pressing back, using navigation bar, etc).
 
[[Category:WinX|UBIK WinX Client Basics]]
=== Documents ===
39
edits