> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enum values for PrefDescValueType

> Lists the enum values for PrefDescValueType.

## PrefDescValueType Enum

1=number, 2=text, 3=bool, 4=list of values; 5=list table ref; 6=contact ID, 7=Person ID, 8=Project ID, 9=Selection ID

| Name          | Value | Description                                                                                     |
| ------------- | ----- | ----------------------------------------------------------------------------------------------- |
| Unknown       | 0     | Unknown - used when initializing                                                                |
| Number        | 1     | Preference value is a number                                                                    |
| Text          | 2     | Preference value is a text (max len 99 characters)                                              |
| Bool          | 3     | Preference value is Boolean                                                                     |
| ListOfValues  | 4     | Preference value is a list of separate value                                                    |
| ListTableRef  | 5     | Preference value is a record ID in the given MDO list table; maxValue contains the tablenumberø |
| TimeList      | 6     | Preference value is a time, value is seconds since midnight (28800 = 08:00)                     |
| ContactID     | 7     | Preference value is a contact ID                                                                |
| PersonID      | 8     | Preference value is a person ID                                                                 |
| ProjectID     | 9     | Preference value is a project ID                                                                |
| SelectionID   | 10    | Preference value is a selection ID                                                              |
| PosSize       | 11    | Obsolete: Windows position and size                                                             |
| TimeZone      | 12    | TimeZone location                                                                               |
| Time          | 13    | Time, preference value is 13:45:50                                                              |
| Password      | 14    | Password, stored as plain text but shown with dots                                              |
| MultiLineText | 15    | Multi-line text that preserves line breaks                                                      |

## Usage

* [PrefDesc](../prefdesc).valueType - Preference description, drives the Preference GUI. Maintenance client - controls all preferences in SuperOffice. You find an overview off all standard preference on [http://techdoc.superoffice.com](http://techdoc.superoffice.com).  May be used by third-party developers to add system preferences to be updated from SuperOffice Maintenance client, instead of ini-files.


## Related topics

- [Enum PrefDescValueType](/en/automation/crmscript/reference/CRMScript.NetServer.PrefDescValueType.md)
- [SuperOffice.WebApi.Data.PrefDescValueType](/en/api/reference/webapi/SuperOffice.WebApi.Data.PrefDescValueType.md)
- [Enum values for PrefDescAccessFlags](/en/database/tables/enums/prefdescaccessflags.md)
- [PrefDesc table](/en/database/tables/prefdesc.md)
- [SuperOffice.WebApi.Data.PreferenceDescription](/en/api/reference/webapi/SuperOffice.WebApi.Data.PreferenceDescription.md)
- [NSPreferenceDescription](/en/automation/crmscript/reference/CRMScript.NetServer.NSPreferenceDescription.md)
