The CUSTOMDATA function returns the contents of the CustomData property of the connection string.
CUSTOMDATA()
The CUSTOMDATA function returns a text string.
If the CustomData property was not defined at connection time, the function returns a Blank.
This function is frequently used to implement expressions in role-based security environments when an application uses custom authentication.
In this first example, the result of the function is dumped into a card type visualization in a scenario in which the CustomData property was not defined at the time of connection:
customdata = CUSTOMDATA()
The following code checks if the CustomData property takes the value "OK":
customdata ok =
IF(
CUSTOMDATA() = "OK",
"Correct value detected for CustomData property",
"The value of the CustomData property has not been defined"
)