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

# ObjRef

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/objRef/index.ts
- Guides: [Working with object references](https://www.gooddata.ai/docs/gooddata-ui/latest/data-layer/data-model/object-references/index.md)

Model object reference.

**Signature:**

```typescript
export type ObjRef = UriRef | IdentifierRef;
```
**References:** [UriRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.uriref/index.md), [IdentifierRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.identifierref/index.md)

## Remarks

Note: you should avoid manually creating and maintaining object references. The recommended practice is to treat your logical data model as code; you can achieve this by using the catalog-exporter tool which can create code representation of the various LDM entities. You can then use this code in conjuction with the various factory and builder methods in sdk-model to conveniently construct visualizations.
