---
title: "Document field value accessor"
slug: "document-field-value-accessor"
abstract: "Introduction to the Document field value accessor in Sitecore Data Exchange Framework."
---
# Document field value accessor

This value accessor provides the ability to read a value from a field on a MongoDB document.

| Expected source/target object type | `MongoDB.Bson.BsonElement` or `MongoDB.Bson.BsonDocument` |
| --- | --- |
| Template location | *Data Exchange/Providers/MongoDB/Data Access/Value Accessors/MongoDB Document Field Value Accessor* |

> [!note]
> This value accessor is read-only.

<details>
<summary><h2>Template fields</h2></summary>

| Field name | Description |
| --- | --- |
| **Field Name** | The name of the field whose value is read. |
| **BSON Field Value Reader** | The component used to convert the BSON value to a value that can be used outside of MongoDB. |

</details>