# Display Object Properties

You can iterate over the properties on a object using the `{{#each-in}}{{/each-in}}` block helper.  This is particularly helpful when the properties on the object are dynamic or unknown ahead of time.

&#x20;As an example, if your result object contains the following data

```
{
    entity: entityObj,
    data: {
        summary: ['tag1', 'tag2'],
        details: {
          key1: 'value1',
          key2: 'value2',
          key3: 'value3'
        }
    }
}
```

You could iterate over the details object with the following

{% code title="template.hbs" %}

```
{{#each-in block.data.details as | key value |}}
   <div>
     <span class="p-key">{{key}}</span>
     <span class="p-value">{{value}}"</span>
   </div>
{{/each-in}}
```

{% endcode %}

In our example this would create the following HTML

```markup
<div>
   <span class="p-key">key1</span>
   <span class="p-value">value1</span>
<div>
<div>
   <span class="p-key">key2</span>
   <span class="p-value">value2</span>
<div>
<div>
   <span class="p-key">key3</span>
   <span class="p-value">value3</span>
<div>
```


---

# 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://docs.polarity.io/integrations/build-an-integration/customizing-the-overlay-window/templates/objects.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.
