Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
first(concept of [1482498: Colors]
where concept:'SecondaryColor' = true)
)
concept
concept
☑️
a single concept, either literal or as expression
First([list] WHERE [LastModified] = Max([LastModified] of [List]))
First()
=>Result: unknown
list
List of elements of the same type
☑️
a list of values or elements of the same type.
concept_set
A list of concepts
☑️
a list of concepts
date
date time
☑️
a date
[Products]values
list of numbers datetimes or durations.
☑️
The list of values for which the average is calculated. The values can be either numbers, datetimes or durations.
Returns a new concept set with all concepts provided in the parameter list. This collection can contain concepts from different parents.
Returns Unknown if one of the parameter values is unknown.
List(concepts | concept_sets)
A list of concepts and/or concept-sets
☑️
a list of separate concepts or concept-sets
Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
date
date time
☑️
a date
unit
keyword
☑️
Date unit keyword
Possible values: year, month, week, day, hour, minute or second.
Returns the current date in UTC.
Returns the Id as number of the current portal id.
Returns a concept set with the concepts that occur in each concept set provided in the parameter list.
An unknownconceptset value is returned if any of the conceptsets in the list is unknown, or if there is no concept available in all sets in the parameterlist.
LocalName(unknownconcept)
=>Result: unknowntext
concept
concept
☑️
a single concept, either literal or as expression
list
List of elements of the same type
☑️
a list of values or elements of the same type.
concept_set
A list of concepts
☑️
a list of concepts
Synonyms(unknownconcept)
=>Result: unknown
concept
concept
☑️
a single concept, either literal or as expression
Intersection( List(unknownconceptset, [AllColors]) )
=>Result: unknownconceptset
concept_set_x
list of concepts
☑️
2 or more sets of concepts (or a single concept) combined with the List() function as parameterlist.
datetime
date time
☑️
a date
language
languagecode
☑️
Specific language code (available within the Localization folder in the Expression Editor.
timestamp
numeric
☑️
A unix timestamp (seconds passed since JAN 01 1970)
name
text
☑️
a text with the name of a project setting
date
date time
☑️
a date value
GetChildren('Color'.'Green')
=>Result: unknownGetChildren(unknownconcept)
=>Result: unknown
concept
concept
☑️
a single concept, either literal or as expression
values.Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
values
list
☑️
the list of values. The values can be either numbers, datetimes or durations.
Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
datetime
date time
☑️
a specified date and time
Returns null if the timezone argument is not recognized.
utcdate
date time
☑️
a UTC date value
timezone
text
☑️
full timezone name
Returns Unknown if the parameter value (file) is unknown.
Common media types are listed on wikipedia.
file
file
☑️
a file
yes/true if the portal is running in secure https mode.Returns no/false if portal is running in unsecure http mode.
Returns Unknown if the parameter value (file) is unknown.
file
file
☑️
the file of which the size has to be calculated
number.
Returns Invalid expression if the parameter value is not a valid number.This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
number
numeric
☑️
a numeric value.
Log10(0)
(no value)
Log10(100000)
5
Log10(0.00005)
-4.3010299957
Log10(-20)
(no value)
number.
Returns Invalid expression if the parameter is not a valid number.This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
number
numeric
☑️
a number
Ceiling(5)
5
Ceiling(5.0001)
6
Ceiling(123.123)
124
Ceiling(-123.89)
-123
Invalid expression if the parameter is not a valid number.This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
number
numeric
☑️
a numeric value.
Exp(0)
1
Exp(-0.6)
0.548812
Exp(-1000)
0
Exp(10)
22026.4658
Returns null if the time zone argument is not recognized
date
date time
☑️
a date value
timezone
text
☑️
Full timezone name. You can find the different names in the portal settings.
Returns the direct parent concept of a given concept.
An unknown value is returned if the concept has no parent or the given parameter is unknown.
The GetAncestors() function includes the entire parent chain from root to concept (excluding root and concept).
concept
concept
☑️
a single concept, either literal or as expression
data-item
field
☑️
a field from your data model
values.Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
values
list
☑️
list of values which can be either numbers, datetimes or durations.
Returns Unknown if the parameter value (file) is unknown.
file
file
☑️
the file
Returns yes/true if the server is handling the first request of the client.
Returns no/false otherwise.
Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
start_date
date time
☑️
the start date
end_date
date time
☑️
the end date
unit
Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
Although MoveDate() IS SQL Compatible - meaning it will be used on the database to return a smaller resultset, it may be slow in execution on the database, depending on the situation (number of records, distribution over data-pages, the filter in total with maybe other fields) where SQL may not be able to optimize the execution plan...
date
date time
☑️
a date
number
numeric
☑️
the number or amount that a date the value is moved.
unit
Returns a text that contains the name of the country that belongs to the specified language.
Returns Unknown if the parameter is unknown.
Shows a syntax error "parameter mismatch" in the expression editor if the parameter is not a valid LanguageCode.
language
languagecode
☑️
Specific language code (available within the Localization folder in the Expression Editor.
Returns a concept set that contains all the descendant concepts of a concept.
The concept parameter is not included.
An unknown value is returned if the concept has no descendants or the given parameter is unknown.
The function only returns the direct child concepts.
Returns true if the specified row is not yet saved to the database. Returns false if the specified row is already saved to the database.
If the parameter is a list, then the current row of the list is taken.
If the parameter is a reference, then the referenced row is taken.
Returns a number that is the square root of a givennumber.
Returns Invalid expression if the parameter is not a valid number.
This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
Returns True if the list has a specific row selected and the list-fields can be used to read/write values. Or - in case a reference-field is used - the reference field points to a specific row item in the list.
Returns False if the list has no current active row which can be used, or - in case a reference-field is used - the reference field is not yet set to point to a specific row (or has been cleared with an assignment node)
Returns a Concept Set with all the parent concepts of a concept. The concept parameter is not included in the result.
An unknown value is returned if the concept has no parent or the given parameter is unknown.
The function only returns the direct parent of a concept.
A collection of same-typed values that can be used as a list in other functions or list-based features. This list can be iterated through, or a specific item can be accessed using its index-position, or using the Distinct function can be narrowed down to its unique values.
Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.
directly displaying in a label, will use the ToString() version, and yields the combined identifying information for the List and the Row;
with the ToNumber() function, it will yield the numeric id value - same as the numeric [ID] field;
This function is SQL compatible. For more information about SQL compatibility, see our documentation.
The Row ID value of one of the following:
The current row of a list (when using the List as parameter)
The referenced row of a reference field (when using a reference field as parameter)
list
List
☑️
a list from the data-model
reference
reference field
☑️
a reference field
Keyword
☑️
the date unit of which the difference is calculated. Possible values: years, months, weeks, day, hour, minute or second.
Keyword
☑️
the [date unit] that is moved in date.
Possible values: year, month, week, day, hour, minute or second.
Last([name] of [List] WHERE [LastModified] = Max([LastModified] of [List]))
Last([Name] of [Products] WHERE [LastModified] = Max([LastModified] of [Products]))
=>Result: returns the name of the last modified item in products
Last([list] where HasValue([field in list]))
=>Result: last row in the indicated list where a certain field has a value - ONLY Runtimes 4.2 and up!
values
list or a concept_set
☑️
a collection of values or elements of the same type, or a list of fields from a (persistent) list.
rad
numeric
☑️
a number given in unit of radians
cos(1)
0.5403023059
cos(Pi)
-1
cos(Pi/2)
0
concept
concept
☑️
a single concept, either literal or as expression
list
list
☑️
a database list
reference
reference
☑️
a reference to a row of a database list
number
numeric
☑️
a number.
Sqrt(100)
10
Sqrt(9)
3
Sqrt(2)
1.4142135623731
number
numeric
☑️
a number
Abs(123.456)
123.456
Abs(-123.456)
123.456
Abs(1.23456*10^6)
1234560
3 - medium
4 - strong
5 - very strong
Numbers
Symbols
Password length
PasswordStrength("BasicSecret")
=> 3
PasswordStrength("*Kky32o7")
=> 3
PasswordStrength("BasicSecret1")
=> 4
PasswordStrength("this is a very long text with only lowercases")
=> 5
PasswordStrength("*Kky32o7+WEsoc!9")
=> 5
password
text
☑️
input password
List('Color'.'Blue', 'Color'.'Green', 'Color'.'Orange', 'Color'.'Red')
=> a list with 4 conceptsDistinct( List( false, false, true, false, true ) )
=> a list with 2 boolean values (because of the Distinct function used)
value1
any
☑️
Accepts any (at least one) number of values of the same type.
rad
numeric
☑️
a number given in unit of radians.
Sin(0)
0
Sin(Pi/2)
1
Sin(1)
0.8414709848078965
Distinct()
=> Invalid expression
values
list
☑️
a list of values or elements of the same type.
num_chars
numeric
☑️
a number representing the amount of characters of the generated password. Should be at least 4, higher is better.
[Products]Sum()
=>Result: unknown
values
list
☑️
the list of values of which the sum is calculated. The values can be either numbers or durations.
concept
concept
☑️
a single concept, either literal or as expression
list
list
☑️
a list
reference
reference
☑️
a reference field pointing to a specific list
concept
concept
☑️
a single concept, either literal or as expression
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns the concept that is found with the given argument.
Returns Unknown if:
the parameter is unknown;
if no concept can be found for the provided parameter;
if there are multiple matches for the provided parameter (local name).
localname
text
☑️
text that is used to search the local name of a concept
id
numeric
☑️
number that is used to search concept by Concept Id
Returns the URL that points to the file, by default excluding the hostname (relative path).
If the second parameter is provided as true, it will include the hostname (full, absolute path).
Returns Unknown if the parameter value (file) is unknown.
file
file
☑️
the file of which the URL will be returned
includeDomain
boolean
indicate whether or not to include the full domain (default false)
Invalid expression if one of the parameter values is not a valid number, As of version 4.2, the Random function also accepts negative numbers when both min and max values are provided - just as long as min < max.
This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
max_num
numeric
☑️
the maximum value of the generated number.
min_num
numeric
the minimum value of the generated number.
number.
Returns Invalid expression if the parameter is not a valid number.This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
number
numeric
☑️
a numeric value.
Floor(5)
5
Floor(5.999)
5
Floor(-123.89)
-124
Returns the logarithm of a givennumber, using base e or a specified base number.
Returns Invalid expression if one of the parameter values is not a valid number.
This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
number
numeric
☑️
a numeric value.
base
numeric
a numeric value.
Log(5)
1.6094
Log(25, 5)
2
Log(5, 25)
0.5
CountryCode( (3) )
=> { the country code of the third language in the list of available languages }language
languagecode
☑️
Specific language code (available within the Localization folder in the Expression Editor.
This WEM implementation is following the basic standards - some sites may have custom implementations that deviate and therefore may not work with the WEM implementation.
Returns a Json Web Token (wiki) using the HMAC-SHA265 algorithm.
Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.
payload
text
☑️
A json-formed set of claims (see )
secret
text
☑️
Text or data field that holds the encryption secret.
secretisbase64encoded
Date Time value compiled from the separate input values for each part.Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
year
numeric
☑️
the year unit
month
numeric
☑️
the month unit (1 - 12)
day
Returns a number.
Returns Invalid expression if one of the parameter values is not a valid number, and returns unknown if one of the parameters is unknown.
This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
numeric
☑️
the day unit (1 - 31)
hour
numeric
the hour unit (0 - 23)
minute
numeric
the minute unit (0 - 59)
second
numeric
the second unit (0 - 59)
Pow(1234, 1234)
infinity
number
numeric
☑️
a number
power
numeric
☑️
a number
Pow(1, 0)
1
Pow(0, 1)
0
Pow(2, 3)
8
Pow(0.5, -0.5)
1.4142135624
Pow(-0.5, 0.5)
NaN (not a number)
yes/no
☑️
indicates whether the secret is base64 encoded (true) or plaintext (false)
customheader
text
You can also use a custom header according to the JWT definition.
Returns a text that contains a hash key of 40 characters. Returns unknown if the salt length is less than 8
password
text
☑️
text containing a password
salt
text
☑️
a salt text. The value must be at least 8 characters long. An unknown value is returned if the length is less than 8.
Returns a text value based on the given secret and UTC time, containing 6 numbers.
Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries. May throw a Server500 error when the secret is NOT a proper Base32 value with characters from the collection "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"
secret
Base32 text
☑️
secret the password is based on. Must be base32 encoded and must contain any of the characters from the collection as indicated in the syntax example.
date
date time
☑️
UTC time or time and interval the password is based on.
Returns a hexadecimal text string.
Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.
text
text
☑️
a text
Hashed values cannot be decoded, usually you check an incoming value against a known value that you hash yourself and check if both values are identical, to verify correctness without knowing the actual value.
Returns a hexadecimal text string.
Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.
text
text
☑️
a text
FindConcepts("not part of set", GetChildren('Devices'), false)
=>Result: unknown
FindConcepts("screen", GetChildren('Devices'), true)
=>Result: 'Monitor'
FindConcepts("screen", GetChildren('Devices'), false)
=>Result: unknown
FindConcepts("Monitor", GetChildren('Devices'), false)
=>Result: 'Monitor'
☑️
either true or false, which indicates if synonyms must be included in the filter or not.
text
text
☑️
text to search for in names (local/display) and optionally synonyms
concept_set
list of concepts
☑️
a concept set as source for the search
include_synonyms
Yes/No
Md5("The quick brown fox jumps over the lazy dog.")
=> "e4d909c290d0fb1ca068ffaddf22cbd0"☑️
a file
text1
text
☑️
a text
text2
text
another text
file
file
AesEncrypt(text, key, vector, false)
=> e3ieQNh8nKH/pHImo+JQmZvr+rhSGn4WHQJyTBmPCbA=☑️
Text or data field that holds the encryption vector. A proper Vector value can be generated using
encoding with BOM
yes/no
enable or disable encoding with BOM (check the receiving party if BOM is required/expected).
plaintext
text
☑️
The text to encrypt.
key
text
☑️
Text or data field that holds the encryption key. A key can be generated using AesKey()
vector
text
Returns the geographical distance (in kilometers - in a straight line) between two geographical points.
Returns Invalid expression if one of the parameter values is not a valid number.
latitude1
numeric
☑️
a geographic coordinate that specifies the north–south position of a point on the Earth's surface in decimal degrees.
longtitude1
numeric
☑️
a geographic coordinate that specifies the east-west position of a point on the Earth's surface decimal degrees.
latitude2
Distance(52.370216, 4.895168, -37.814, 14496332)
16545.7337
Note: this function uses the language setting of a portal when converting text.
Returns the number converted from text or a unit from date.
Returns Invalid expression when text is not a number, or when reference is not a valid RowId, or when date is not a valid date value or unit is not a valid date unit.
text
text
☑️
a text containing a number.
reference
reference
☑️
reference field, holding a rowid of a list.
date
Unknown if one of the parameter values is unknown or outside the common valid boundaries. ciphertext
text
☑️
The input base64 encoded text which was encrypted you want to decrypt. It should be encrypted with the same key and vector values and using the AES algorithm.
key
text
☑️
Text or data field that holds the encryption key. A key can be generated using
vector
Mind, this only applies to the Mid-Point values: the middle of the spectrum, where a decision needs to be made which way to go. So if you expect 3.85 to be rounded to 3.9 (away from zero), you need to use the AwayFromZero in the expression - the default ToEven will result in 3.8 (Banker's).
Read this wiki page about rounding strategies.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a number that is rounded to an integral number or a number of fractional digits.
Returns Invalid expression if one of the parameter values is not a valid number.
This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
number
numeric
☑️
a number
digits
numeric
the number of fractional digits number is rounded.
strategy
Round(5.499)
5
Round(5.501)
6
Round(3.85, 1)
3.8
Round(5.489, 2)
5.49
Round(5.499, 2)
5.50
Returns a hexadecimal text representation of a message, which is hashed using the Sha265 function and the key/secret for additional calculation/hashing.
Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.
key
text
☑️
a text with the secret key for HmacSha256 encryption
message
text
☑️
the message or content
returnbase64
numeric
☑️
a geographic coordinate that specifies the north–south position of a point on the Earth's surface in decimal degrees.
longtitude2
numeric
☑️
a geographic coordinate that specifies the east-west position of a point on the Earth's surface decimal degrees.
date
☑️
a date.
unit
date-unit
☑️
the unit that is retrieved from date.
duration
duration
☑️
a duration value. supported from runtime v5 invalid expression in older runtimes.
duration_unit
duration-unit
☑️
Duration units:
day - results in the total number of days
hour - results in the total number of hours
minute - results in the total number of minutes
second - results in the total number of seconds
millisecond - results in the total number of milliseconds
keyword
ToEven (default) or AwayFromZero
(Runtime 4.2 only!)
Round(3.85, 1)
3.8
Round(3.85, 1, ToEven)
3.8 in Runtime 4.2 invalid expression in older runtimes
Round(3.85, 1, AwayFromZero)
3.9 in Runtime 4.2 invalid expression in older runtimes
yes/no
return result as base64 (if true)
text
☑️
Text or data field that holds the encryption vector. A proper Vector value can be generated using AesIv()
encoding with BOM
yes/no
enable or disable encoding with BOM.
ToDuration("35:80:90")
=>Result: unknown
ToDuration(unknownnumber)
👎Result: unknown
ToDuration(14, minute)
👍Result: 14 minutes
ToDuration(45, second)
👍Result: 45 seconds
ToDuration(768, millisecond)
👍Result: 768 milliseconds
ToDuration(6, 12, 14, 45, 768)
👍Result: 6 days, 12 hours, 14 minutes, 45 seconds and 768 milliseconds
ToDuration( 0, 0, 14, 45, 0)
👍Result: 14 minutes and 45 seconds
☑️
a numeric value to combine with the date_unit
date_unit
keyword
☑️
one of the date_units: day, hour, minute, second, millisecond
day
numeric
☑️
the day unit (number of days)
hour
numeric
☑️
the hour unit (0 - 23)
minute
numeric
☑️
the minute unit (0 - 59)
second
numeric
☑️
the second unit (0 - 59)
millisecond
numeric
☑️
the millisecond unit (0 - 999)
text
text
☑️
text containing duration in dd.HH:mm:ss:fff form
ticks
numeric
☑️
the number of ticks (tenthousandth of a millisecond)
number
numeric