> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/english-v14/connectivity-as-a-service/gerate-mit-abb-buildingpro-verbinden/funktionen.md).

# Functions

Functions are used to perform additional calculations or transformations on incoming data that are not covered by the format configuration.

## 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 asset type parameters
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>The result of the code entered in [A] is displayed here</td></tr><tr><td><strong>[D]</strong></td><td>Test code</td><td>Click here to test the code entered in [A]. The result will be displayed in [C]</td></tr><tr><td><strong>[E]</strong></td><td>Save</td><td>Click here to save</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.buildings.ability.abb/collection/english-v14/connectivity-as-a-service/gerate-mit-abb-buildingpro-verbinden/funktionen.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
