---
title: "extdata:get — Get ExtData"
description: "iXML command extdata:get: Get ExtData."
canonical_url: "https://www.zeyos.com/ixml/ref/extdata-get"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/extdata-get.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# extdata:get — Get ExtData

EXTDATA:GET gets the ExtData of an object, specified by entity and ID.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Result variable name |
| var_fields | var |  | Variable name for field list |
| entity | string |  | Entity |
| id | int |  | ID |

### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- binding: var; type: array; predicate: no-result-propagation

### Examples

```xml
<extdata:get var="obj" entity="contacts" id="123"/>
<output>$obj.competitor</output>
<!-- Steve Jobs -->
```

```xml
<extdata:get var="obj" entity="contacts" id="123">
	<extdata:field>company</extdata:field>
</extdata:get>

<if value1="$obj.company" func="=" value2="Microsoft">
	<set var="obj.competitor">Apple</set>
</if>

<extdata:set entity="contacts" id="123" var_data="obj"/>
```
