> For the complete documentation index, see [llms.txt](https://docs.klai.studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.klai.studio/reference/hooksoverview/filemaker-globals/usdusdbf_model.md).

# $$BF\_Model

This global variable contains the data model for the user's current page. You can read data from it or write data back into it using FileMaker's built-in JSON functions.

By default, the entire contents of the **$$BF\_Model** variable is sent back to the client and **merged** with their existing data when the hook returns. This preserves client-side properties while updating server-controlled values. To modify this behavior (e.g., to force a complete replacement), see the **$$BF\_State** page.

For keys configured with **Sync with app**, if the same key is returned in both `$$BF_Model` and `$$BF_App` in one hook response, the `$$BF_App` value is applied as the final synced value.

{% content-ref url="/pages/jLAO9rMqTciSqbbd4oLu" %}
[$$BF\_State](/reference/hooksoverview/filemaker-globals/usdusdbf_state.md)
{% endcontent-ref %}
