# Functions

## Create a new function

<div data-full-width="true"><figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/6vPidGwgUaqpb6gernRP/Docs%20Funktionen.png" alt=""><figcaption></figcaption></figure></div>

1. Click on **\[A]**
2. Click on **\[B]**
3. Click on **\[C]**\
   ▷ A dialog opens
4. Enter in **\[D]** the name of the format
5. Select in **\[E]** an asset type
6. Click on **\[F]** \
   ▷ A dialog opens
7. Select in **\[G]** the parameters of the asset type
8. Click on **\[H]** \
   ▷ The Configure Function menu opens

## Configure a function

<figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/RjKi76SEnVSbNLzWyIL9/Docs%20%20Funktionen1.png" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="90.33333333333331">Element</th><th width="181">Title</th><th>Details</th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Code editor</td><td>Enter the JavaScript function for the function here</td></tr><tr><td><strong>[B]</strong></td><td>Info</td><td>Here you can see information about the function and the format</td></tr><tr><td><strong>[C]</strong></td><td>Result</td><td>Here the result of the code entered in [A] is displayed</td></tr><tr><td><strong>[D]</strong></td><td>Test code</td><td>Click here to test the code entered in [A]. The result is displayed in [C]</td></tr><tr><td><strong>[E]</strong></td><td>Save</td><td>Click here to save</td></tr></tbody></table>
