---
title: "UIP Appendix"
canonical: "https://wiki.yellowfinbi.com/space/user80/1540546/UIP%20Appendix"
format: markdown
---
> Macro (anchor)



### Data Types

| **Type** | **Java Data Type** | **Notes** |
| --- | --- | --- |
| TYPE_UNKNOWN |  | This type is used when the data type is not known, or when a parameter does not have a storage value (as in the case of a button parameter). |
| TYPE_NUMERIC | BigDecimal |  |
| TYPE_TEXT | String |  |
| TYPE_DATE | java.sql.Date |  |
| TYPE_TIME | java.sql.Time |  |
| TYPE_TIMESTAMP | java.sql.Timestamp |  |
| TYPE_BOOLEAN | Boolean |  |
| TYPE_BINARY | byte[] |  |
| TYPE_GISPOINT<br>TYPE_GISPOLYGON<br>TYPE_GISLINESTRING<br>TYPE_GISMULTILINE<br>TYPE_GISMULTIPOLY<br>TYPE_GISMULTIPOINT<br>TYPE_GISMULTIGEOMETRY<br>TYPE_GISGEOMETRY | GIS Geometry type | All relevant classes live under the **com.hof.mi.gis.data** package. |
| TYPE_PASSWORD | String | Tells Yellowfin to display this in a password input box rather than a plain text input. |
| TYPE_FIELD<br>TYPE_GISCACHEFIELD | Integer | Special data types that indicates a report field is required. |

 

 

> Macro (anchor)



### Display Types

| **Type** | **Options** | **Notes** |
| --- | --- | --- |
| DISPLAY_TEXT_TINY<br>DISPLAY_TEXT_SMALL<br>DISPLAY_TEXT_MED<br>DISPLAY_TEXT_MEDLONG<br>DISPLAY_TEXT_LONG | **ViewOptions:**<br>- **Placeholder:** placeholder text to show before a value has been entered.
- **Suffix:** a display suffix which should be shown appended to the end of the actual value.
- **Width:** override the width value of this input with a custom width. Note: This is a css property, so you can describe in whatever display unit you like. No unit defaults to px. | Several different default widths of text input boxes. |
| DISPLAY_SELECT | **Options:**<br>Each option added to a parameter with this display type will be shown as an option in the dropdown list. The value and description are taken from the option. For example:<br>`p.addOption(“PUG”, “Small”);`  
`p.addOption(“LAB”, “Large”);`<br>**ViewOptions:**<br>- **Width:** override the width value of this input with a custom width. Note: This is a css property, so you can describe in whatever display unit you like. No unit defaults to px | Select dropdown. Has a choice in the list for each option. |
| DISPLAY_RADIO | **Options:**<br>Each option added to a parameter with this display type will be shown as an option in the radio group. The value and description are taken from the option. For example:<br>`p.addOption(“ONE”, “1”);`  
`p.addOption(“TWO”, “2”);`  
`p.addOption(“THREE”, “3”);`<br>**ViewOptions:**<br>- **Valign:** Specifies the valign css property for this element. | Radio button group. Has a radio button for each option. |
| DISPLAY_DATE<br>DISPLAY_TIMESTAMP | **ViewOptions:**<br>- **Width:** Override the default width of this element. | Date input element with date-picker. |
| DISPLAY_TIME | None. | Text input element which verifies time data input. |
| DISPLAY_CHECKBOX | **Options:**<br>Each option specified will be a checkbox in the list. Only the description will be shown, as the value will be true/false. For example, the options below will produce two checkboxes with the provided text.<br>`p.addOption(“Likes dogs?”);`  
`p.addOption(“Likes cats?”);` |  |
| DISPLAY_HIDDEN | None. | Element is on the page, but not shown. This is currently only available for Third party drivers and source connections, its use elsewhere is undefined. |
| DISPLAY_SWITCH | **Options:**<br>You can specify two options which will be used as value and description for the left and right switch positions. Example:<br>`p.addOption(“SOME_LEFT_VALUE”, “This is the left value”);`  
`p.addOption(“SOME_RIGHT_VALUE”, “This is the right value”);` | Toggle switch with description text for each value. |
| DISPLAY_BUTTON | **Options:**<br>You can set the text of the button by adding an option with the value “BUTTONTEXT” and description of the required text. Example:<br>`p.addOption(“BUTTONTEXT”, “Click Me!”);` | Standard Yellowfin button. |
| DISPLAY_URLBUTTON | **Options:**<br>You can set the text of the button the same way as in DISPLAY_BUTTON, but this type also has another option for specifying the URL to open when clicked. It is specified by the option value “BUTTONURL” . Example:<br>`p.addOption(“BUTTONURL”, “http://google.com”);` | Standard Yellowfin button which opens a given link when clicked. |
| DISPLAY_STATIC_TEXT | None. | This value is not in use and is deprecated. Its use is undefined. |
| DISPLAY_PASSWORD | None. | Password input text box. |
| DISPLAY_COLOUR | None. | Standard Yellowfin colour-picker UI. |
| DISPLAY_SLIDER_AND_TEXT | **ViewOptions:**<br>- **sliderWidth:** Override the default width of the slider element. | Slider input with a linked textbox which allows input via either method. |