---
title: ".NET MAUI SDK: Ticket attributes"
description: "Set and clear ticket attribute values with the Gleap .NET MAUI SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/648-net-maui-sdk-ticket-attributes
collection: ".NET MAUI (Beta)"
updated: 2026-11-01
language: en
---

# .NET MAUI SDK: Ticket attributes

Set and clear ticket attribute values with the Gleap .NET MAUI SDK. Follow the integration code examples.

## Set ticket attributes

Ticket attributes can be set with the method below. If the user also provides data for an attribute (for example `description`), the user input will be prioritized.

```csharp
Gleap.SetTicketAttribute("title", "Developer title");
```

**First param**: attribute key  
**Second param**: value (string, boolean, string array or number are supported)

Ticket attribute data will not be [pre-filled](https://gleap-developer-docs.gleap.help/en/articles/656-net-maui-sdk-prefill-the-widget-form) in forms.

## Finding the ticket attribute keys

You can find or create all available ticket attributes for each ticket type in **Settings → Inbox & tickets → Data attributes**.

![Current ticket attributes and Field ID column in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/0BfQwIf0vwqGcjqKp2pDJs2Wct5xgcwVKlLmBiX5jzmoMQ19JQ9l5ideimrvht7xbFbV7UzNJRC.png)

## Unset ticket attributes

```csharp
Gleap.UnsetTicketAttribute("title");
```

## Clear all ticket attributes

```csharp
Gleap.ClearTicketAttributes();
```

## Related

- [.NET MAUI SDK setup](https://docs.gleap.ai/en/articles/640-net-maui-sdk-setup.md)
- [.NET MAUI SDK: User identity](https://docs.gleap.ai/en/articles/641-net-maui-sdk-user-identity.md)
- [.NET MAUI SDK: Track events](https://docs.gleap.ai/en/articles/642-net-maui-sdk-track-events.md)
- [.NET MAUI SDK: Track pages](https://docs.gleap.ai/en/articles/643-net-maui-sdk-track-pages.md)
- [.NET MAUI SDK: Forms](https://docs.gleap.ai/en/articles/644-net-maui-sdk-forms.md)
