# DataSet Base

All datasets inherit form this base-dataset which contains the following mandatory element(s):

* **dataset** - information about the current dataset
* **folders** contains a unique list of folders of all components.
* **context** provides some execution context specific information.

```json
{
  "dataset" : {
    "name" : "..",
    "version" : 1.0.0"
  },

 "folders": [
    { ... },
    {
      "folderId": "Rjo2MzEyMDgz",
      "folderFullPath": "/70 - Shared/IFS/subPr.Get.IFS.OAuth2_ID_Token"
    }
  ],

  "context": {
    "AccountUrl": "https://platform.boomi.com/Runtime.html#build;accountId=boomi_xx",
    "Environments": [
      {
        "Name": "Local",
        "Id": "dfb417a2-d30e-xxx",
        "Description": "TEST"
      },
      {
        "Name": "Cloud",
        "Id": "c5e7b6ce-2546xxxef5",
        "Description": "TEST"
      }
    ],
    "AccountId": "boomi_xxx",
    "AtomSphereUrl": "https://platform.boomi.com/Runtime.html"
  }
}
```

### Verify the template's dataset

Use this information in (all) your templates to ensure it is based on the expected dataset.

```ftl
<#if !dataset??>
	<#stop "dataset element is missing!">
<#elseif  dataset.name!="CompMetaDataSet">
	<#stop "Invalid dataset! Is the provided template compatible the with executed command?">
</#if>
```


---

# 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/boomi-console/library/the-report-engine/the-render-dataset/dataset-base.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.
