> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IObjRefMapConfig

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/_staging/metadata/objRefMap.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Configuration for the ObjRefMap.

**Signature:**

```typescript
export interface IObjRefMapConfig<T> 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [idExtract](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iobjrefmapconfig/index.md#iobjrefmapconfigidextract) | `readonly` | (obj: T) =&gt; [Identifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.identifier/index.md) | **_(ALPHA)_** Function that extracts `id` from object |
| [refExtract](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iobjrefmapconfig/index.md#iobjrefmapconfigrefextract) | `readonly` | (obj: T) =&gt; [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) | **_(ALPHA)_** Function that extracts `ref` from object |
| [strictTypeCheck](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iobjrefmapconfig/index.md#iobjrefmapconfigstricttypecheck) | `readonly` | boolean | **_(ALPHA)_** Indicates whether strict idRef type-checking is desired. Some backends (e.g. tiger) have identifier refs use combination of `id` and `type` and have type-level `id` uniqueness constraints. On those backends, strict type checks are essential to correctly match objects. On other backends, the `type` information coming in the idRef is superfluous and should not be influencing anything. |
| [type?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iobjrefmapconfig/index.md#iobjrefmapconfigtype) | `readonly` | [ObjectType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objecttype/index.md) | **_(ALPHA)_** _(Optional)_ Type of object stored in the map. |
| [uriExtract](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iobjrefmapconfig/index.md#iobjrefmapconfiguriextract) | `readonly` | (obj: T) =&gt; string | **_(ALPHA)_** Function that extracts `uri` from object |

## Property details

### IObjRefMapConfig.idExtract

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Function that extracts `id` from object

**Signature:**

```typescript
readonly idExtract: (obj: T) => Identifier;
```

### IObjRefMapConfig.refExtract

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Function that extracts `ref` from object

**Signature:**

```typescript
readonly refExtract: (obj: T) => ObjRef;
```

### IObjRefMapConfig.strictTypeCheck

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Indicates whether strict idRef type-checking is desired. Some backends (e.g. tiger) have identifier refs use combination of `id` and `type` and have type-level `id` uniqueness constraints. On those backends, strict type checks are essential to correctly match objects.

On other backends, the `type` information coming in the idRef is superfluous and should not be influencing anything.

**Signature:**

```typescript
readonly strictTypeCheck: boolean;
```

### IObjRefMapConfig.type

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Type of object stored in the map.

**Signature:**

```typescript
readonly type?: ObjectType;
```

### IObjRefMapConfig.uriExtract

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Function that extracts `uri` from object

**Signature:**

```typescript
readonly uriExtract: (obj: T) => string;
```
