# How to map fields from parent/other document

You are able to create Template setup document for the response document and in the field mapping set formula that will pull the value from the parent document. Like this:

@GetDocField($Ref;"Subject")

Please notice that with this formula you are able to select any document if you know its UNID (first parameter in formula).


---

# 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.swingsoftware.com/integrator-for-notes/how-to/how-to-map-fields-from-parent-other-document.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.
