Changes

MetaProperty

1,928 bytes added, 15:36, 12 January 2022
/* Text */
===File reference===
A path to a physical file in [http://en.wikipedia.org/wiki/Path_(computing)#MS-DOS.2FMicrosoft_Windows_style DOS/Windows]- or [http://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention UNC] notation.
 
If the file should be serialized into the database, the [[MetaProperty#Serialize|Serialize]] attribute has to be checked and a [[MetaProperty#Bytestream_Type|Bytestream Type]] must be chosen. Supported types are PNG and JPEG.
===Geographic Coordinate===
===XML===
Markup text in [http://en.wikipedia.org/wiki/Xml XML] format.
 
===Signature===
A ByteStream representing a Signature.
 
[[Category:UBIK Object|MetaProperty]]
==Configuration==
===Format===
==== Numeric ====
The format how a numeric value should be displayed. Only applies to properties of type [[#Floating Point|floating point]]. Some examples:
{{Attention|Please be ware that the result of the formatting is also depending on the regional/cultural settings of your machine}}
 
==== File Reference ====
For a file reference property, a list of supported file extensions can be supplied so that the file selection on the client is constrained to certain file types.
 
Example: the format string ''*.xls; *.xlsx'' will allow allow selection of Excel files on the client for this property.
 
==== Text ====
For a [[#Text|text/string property]], a format string can be used to limit the number of characters client users are allowed to enter.
* To specify a lower bound, use e.g. <code>Length[10]</code> which requires a text input of at least 10 characters;
* To specify a lower bound and an upper bound, use e.g. <code>Length[10;20]</code> which requires a text input of 10 to 20 characters.
 
{{Hint|<code>Length[0;X]</code> should be used when you only want to specify an upper bound since there's always a lower bound of 0. Note: <code>X</code> has to be an actual number, it doesn't work as a wildcard. For example, <code>Length[10;X]</code> doesn't mean a length greater than 10. Instead, the entire format string will be considered invalid and ignored.}}
[[Category:UBIK Object|MetaProperty]]
* Input field will be marked with a yellow border if the value is within the warning boundaries
===Needs ValidationMeta Attribute===The If an [[Attribute]] object has been set the system will automatically create store extended information for a property value, for example a valid validation time stamp for this property if the value is set.====Needs Validation===={{Attention|'''NEEDSVALIDATION''' is replaced Replaced by [[UBIK Attribute Attributes]] technique since Version 2.5!}}Learn more about [[UBIK Attributes]].
===Default value===
The default value of a MetaProperty defines which value will be displayed on the client by a property if it doesn't have an own value set.
===Initial value===
The initial value of a MetaProperty defines which value will be set to the property initially when a new instance of it is created. This can be a constant value, or an [[Offline Expression]] that is evaluated on the client. Once the value is changed, the initial value is lost for this instance. [[Category:UBIK Object|MetaProperty]]
===Index Keys===
Enter the index keys as a comma separated list of strings, for example "a,b,c,d" (INDEXCOUNT = 4).
===Index Count===
Set the number of named index keys, for example to 4.
===Index Type===
===Bytestream Type===
Defines how the data is serialized in the database, possbile types are
* PNG
* JPEG
* Text (string) [but which is not supported by subsequent features yet]
===Order===
===Category===
The category the property shall be assigned to. This is used for grouping purposes in various UI elements, where properties of the same assigned category will be displayed together.
 
[[Category:UBIK Object|MetaProperty]]
==Editing a MetaProperty==