> ## 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.

# Select Message

> Select Message

This element lets the user select a message from a ticket.

## Configuration

| Setting  | Description                                 |
| :------- | :------------------------------------------ |
| ticketId | The ID of the ticket to list messages from  |
| addNone  | Whether to add *None* as a selectable value |

## Functions

### setFieldValue(String action, Map values)

| Action | Map keys        | Description                              |
| :----- | :-------------- | :--------------------------------------- |
| add    | name<br />value |                                          |
| remove | value           | Removes all options with the given value |
| clear  |                 | Removes all options                      |

### toString()

Returns the selected value as a string.

### toInteger()

Returns the selected value as a number.


## Related topics

- [Messages](/en/developer-portal/create-app/message-center.md)
- [Split message](/en/request/learn/split-message.md)
- [View email messages](/en/email/inbox/learn/preview.md)
- [Log Messages](/en/automation/crmscript/debugging/log-messages.md)
- [Add request or message](/integrations/superoffice-for-outlook/create-request.md)
- [Insert images in the message](/en/marketing/editor/learn/insert-images-in-message.md)
