---
title: "HBS_PROPERTY"
manual: "Handlebars"
version: "main"
permalink: "https://docs.typo3.org/permalink/cpsit/typo3-handlebars-forms:co-hbs-property@main"
source: "Usage/ContentObjects/Property.rst"
rendered: "2026-09-29T09:18:02+00:00"
---

# HBS_PROPERTY {#co-hbs-property}

Reads a property from the current renderable, its view model, or the form runtime
using `\TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider::getByPath()`. Returns
whatever type the property holds (string, array, object, …).

**Configuration**

-   **path**

    -   *Type:* string
    -   *Default:* *(none)*

    Property path. Supports dotted-path notation for nested access (e.g.
    `renderingOptions.foo`).

-   **subject**

    -   *Type:* string
    -   *Default:* `renderable`

    The object to read from. One of:

    -   `renderable` – the current EXT:form renderable (default)
    -   `viewModel` – the view model built for this renderable
    -   `formRuntime` – the form runtime instance

**Example**

```typoscript
renderableType = HBS_PROPERTY
renderableType.path = type

# Read from the view model instead
resourcePointerFields = HBS_PROPERTY
resourcePointerFields {
    subject = viewModel
    path = children.resourcePointerFields
}
```
