# $$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 %}


---

# 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.klai.studio/reference/hooksoverview/filemaker-globals/usdusdbf_model.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.
