# Instances

For each matched instance a variable with the identifier is created containing an Instance Wrapper object. This object has a list of methods available to access information and meta information about the matches instance.&#x20;

#### `[information_key]`

For each information key a method is created to load that information value. For example if you have a Person with the information `first_name` and `last_name` then you can access them directly as properties with `{{p.first_name}}` and `{{p.last_name}}`.

#### **`translate(information_key)`**

Accessing information directly returns the value you would also get if you would access it with rula. For an enum value this means you would get e.g. `de` instead of `Germany` and for a unit value this means you get `55` instead of `55 kg`. Using translate, you will get the value in the requested language of the document. You probably want to use `translate(...)` almost by default.

#### `information_title(information_key)`

Returns the translated title of the information\_key. E.g `First Name` for `information_title('first_name')`.

#### `proof_file(proof_key)`

Returns the path to the uploaded proof file to display proofs on ADX documents. This most likely is combined with an `<image>` tag, for example like this:

```xml
<image
  path="{{c.proof_file('credit_key_account_plan')}}"
  width="16cm"
  height="16cm"
/>
```

#### `field_id(information_key)`

Return the field\_id for an information\_key. This contains both the instance\_id and the information\_key. This is meant to be used with editable fields to provide a way to identify the field, for example like this:

```xml
<field 
  id="{{p.field_id('first_name')}}" 
  title="{{p.information_title('first_name')}}"
>
  {{p.first_name}}
</field>
```
