# Components · Tickets · Admin Portal

Create reusable Subject, Header, Body and Footer components for message templates, with dynamic fields filled from ticket data.

Canonical: https://docs.mintsd.com/docs/mint-service-desk/admin-portal-components
Language: en-GB
Revision: 2a2d39f1e31deba465d9905cd685a5a3416966a588eb6151bba19ba5bc3c7cc9

<a id="element-01a1452e-01ef-71ce-81c7-d0290c3ecbb7"></a>

Create reusable components for message templates, such as the ‘Thank you’ message sent after a ticket is created.

<a id="element-01a1452e-01f0-7373-b770-33cc8524ddf2"></a>

![Create reusable components for message templates, such as the ‘Thank you’ message sent after a ticket is created.](https://docs.mintsd.com/api/reader/assets/assets/images/image491.png?v=6d555a2833729b0eb5f81d15f5b2c0086af0352f5de4f380875e292f61a9cddf)

<a id="element-01a1452e-01f1-71f3-a0e5-18567d84fb58"></a>

Define the components here, then combine them into templates in the next section.

<a id="element-01a1452e-01f1-76da-b1db-0a7e8139807f"></a>

MINT Service Desk has four types of components: “Subject”, “Header”,
“Body” and “Footer”.

<a id="element-01a1452e-01f2-7f6e-bbd4-3741a3778237"></a>

To create a new component, you need to click on the “Add new value”
button.

<a id="element-01a1452e-01f3-77c3-92d5-919ac7c78bb2"></a>

![Components: To create a new component, you need to click on the “Add new value” button.](https://docs.mintsd.com/api/reader/assets/assets/images/image492.JPG?v=802543d189ec0de200b491c8c46afff9cbf966917ff859b020b38b8b2a29c150)

<a id="element-01a1452e-01f4-70c5-add8-2760d6bce321"></a>

Now, in the ‘Create template component’ view you need to name your new
component (‘Component name’) and choose a type (“Subject”, “Header”,
“Body” or “Footer”).

<a id="element-01a1452e-01f4-79c2-a3d3-8b0eb414c747"></a>

![Now, in the ‘Create template component’ view you need to name your new component (‘Component name’) and choose a type (“Subject”, “Header”, “Body” or “Footer”).](https://docs.mintsd.com/api/reader/assets/assets/images/image493.png?v=2cccc042620d802c0b43009f53ef76a8f6ab1f29125cd7943e804371f02566b0)

<a id="element-01a1452e-01f5-76bf-8538-ecebb8a2de27"></a>

Write and format the component in ‘Content’ using the rich text editor. Add dynamic fields to insert system data when the template is used.

<a id="element-01a1452e-01f6-7a60-96f3-d8bd2228feac"></a>

To do so, click the scissor button located right below the ‘Content’
section and from the dropdown menu select and add the dynamic fields you
need.

<a id="element-01a1452e-01f6-7190-b0c2-926b983f0350"></a>

![To do so, click the scissor button located right below the ‘Content’ section and from the dropdown menu select and add the dynamic fields you need.](https://docs.mintsd.com/api/reader/assets/assets/images/image494.png?v=dd9f7d7336fb2f56ce029043cdd835d8aefa811e678fb9751ec8b9bb936be33c)

<a id="element-01a1452e-01f7-77b3-98d2-a80e4c7f2ed1"></a>

<a id="element-01a1452e-01f8-7a44-8867-d347787b8ef7"></a>

Once you finish just click the ![Save](https://docs.mintsd.com/api/reader/assets/assets/images/image8.png?v=c6dfcae62b1da5a56376cb98f40e0a593d8d731e458977d27180f6380454b49d#element-01a1452e-01f7-77b3-98d2-a80e4c7f2ed1) button.

<a id="element-01a1452e-01f8-7c78-85d6-af77116714d5"></a>

<a id="element-01a1452e-01f8-77d3-854f-9f8fa86346f5"></a>

<a id="element-01a1452e-01f9-78b9-be2e-5cea8eb71429"></a>

Remember that after creating a new component you can always either
change anything inside it (![Edit](https://docs.mintsd.com/api/reader/assets/assets/images/image89.png?v=702adcf46ea452d46f158b0c91e923f5b40ae6f37d95ca5764e20654a2855c4c#element-01a1452e-01f8-7c78-85d6-af77116714d5)) or even delete it from the
system (![Delete](https://docs.mintsd.com/api/reader/assets/assets/images/image202.png?v=1ae492635a6fc6619d5b242c62eff118e37d8d48440153360fc4ec4913f5ed3a#element-01a1452e-01f8-77d3-854f-9f8fa86346f5)).

<a id="element-01a1452e-01f9-7f03-9e51-17d3b57c71a1"></a>

Give components descriptive names so you can find the correct ones when building and maintaining templates.

