Link Search Menu Expand Document

Kodika Server Data Types

Kodika Server supports specific Data Types to be able to save the values in the cloud in JSON format. You will need to create your custom Server Data Types to implement your application-specific requirements.
Each Server Data Type property could be either from the following Data types, or a relationship with a Server Data Types. There is also a special Server Data Type, called User, which is automatically created during the setup of Kodika Server and supports extra functionalities like login and register.

The Data Types supported by the properties of a Server Data Type are similar to general Suggested data types but with minor differentiations to be saved in the cloud.


Text (or string) is the data type that describes a combination of characters.


Int includes all numbers with are not decimal, meaning all integers. Int is a subset of number data type.
Note: 3 and -3 are valid values for Int data type, but 3.13 is not. Suppose you try to assign a non-integer. In that case, Kodika will convert it to an integer by deleting everything after the decimal separator and not by rounding the number. For example, both 3.13 and 3.89 will be converted to 3.


Number data type includes all decimal and integers, which means all valid numbers.
Tip: 3, 3.13, -3, 0, -4.99 are valid values for the Number data type.

True/False Bool

The Bool (or boolean) data type can have only two values: True(YES) or False(NO). The True/False Bool data type is used to check whether a condition is met or not.
Tip: True/False Bool data types can be used in IF Code Blocks.

Server Image

Server Image is a special data type that represents images in the Kodika Server environment. It automatically uploads, downloads, and caches images in order to be easy to use. You can assign a Server Image directly to an Image View, and Kodika will automatically find it in the server, download it, cache it, and then display it.
Note: You should not confuse this data type with the Image Asset or the Image. You can get the Image from Server Image, if you need to modify it, using Code blocks. Check out also Image Asset vs Server Image vs Image.


Color data type represents colors in Kodika.


URL data type represents a URL value.
Note: URL is not the same as text data type. You can convert a URL to text using a code block. You can also create a URL from a text, if the text is a valid URL.

Date Time

Date Time data type describes a specific point in time, including both the date and the time.
Note: If you need to store only the date, you can use the Date only data type.

Date Only

Date Only data type is similar to Date Time, but it stores only the date.
Tip: For example, you can use it to store birthdays.