# Document Components

The documentation is created by an Azure Service which renders the component's XML based on [Freemarker Templates](https://freemarker.apache.org/). For now, consider this as a *proof of concept,* and only some component types are supported:

* Profile
* Process
* Map

{% hint style="info" %}
When requesting the documentation it may take some time for the service to wake up. \
If you get an error, press F5 and refresh the page to try it a second time, please.
{% endhint %}

## Example documentation for a mapping

<figure><img src="/files/5L4ifoHe4cuRMHVry72G" alt=""><figcaption></figcaption></figure>

### HTML Documentation

<figure><img src="/files/RIaawm6pXRu6qHoJHJJp" alt=""><figcaption></figcaption></figure>

#### Dependent (referenced) Components

> [Dependent components](https://app.gitbook.com/o/GdemkqEHstG0W2wIO2Tl/s/-MJ5pAMZk3evA8VCVuQL/referenced-components) are components that are referenced and required by this Map and on which the Map is dependent. Carefully check the folders of these components. It is good practice to keep all referenced components in the Map's folder or in a sub-folder, unless it is a commonly used (shared) component.

<table><thead><tr><th width="176.199951171875">Child Name</th><th width="159.4000244140625">Type</th><th>Folder</th></tr></thead><tbody><tr><td><strong>j.FirstLast</strong></td><td>profile.json</td><td>/#Examples/90 - ScriptEase/Documentation/02 - MapScriptSimple</td></tr><tr><td><strong>j.FirstLastFull</strong></td><td>profile.json</td><td>/#Examples/90 - ScriptEase/Documentation/02 - MapScriptSimple</td></tr><tr><td><strong>msgSimple</strong></td><td>script.mapping</td><td>/#Examples/90 - ScriptEase/Documentation/02 - MapScriptSimple</td></tr></tbody></table>

#### Mapping

> Only that functionality is documented that is used to generate the target map. Source fields, scripts, functions etc. which are not connected are not documented!

| From | j.FirstLast    | To | j.FirstLastFull |
| ---- | -------------- | -- | --------------- |
| 3    | Root/firstname | 3  | Root/firstname  |
| 4    | Root/lastname  | 4  | Root/lastname   |

### From Function

| From (count=1) | Name      | To | j.FirstLastFull |
| -------------- | --------- | -- | --------------- |
| Scripting      | msgSimple | 5  | Root/fullname   |

### Mapping Dependency Tree

<figure><img src="/files/gHtezG9l6caIIv053HhE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://boomi.markusschmidt.pro/power-tools/readme/document-components.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
