--- title: li-reference description: "Removed in: [`release-2023-11`](/operations/releases/release-2023-11/). Use li-document-reference instead." --- Deprecated in: [`release-2023-09`](/operations/releases/release-2023-09/) Removed in: [`release-2023-11`](/operations/releases/release-2023-11/) ## Supported Features | Feature | Supported | | ------- | :-------: | | Document | ✔ | | Media | ✔ | | Include | ✔ | | Document Creation Flow | ✗ | | Push Message | ✗ | | Usage Log | ✗ | | Table Dashboard | ✔ | | Display Filter | ✗ | | Search Indexing | ✔ | | System Metadata | ✗ | | Planning System | ✗ | | Webhook Conditions | ✗ | ## Description With [`release-2022-03`](/operations/releases/release-2022-03/) this is superseeded by [`li-document-reference`](/reference/document/metadata/plugins/li-document-reference/llms.txt). Shows a reference to another document. A Document Selection Dialog is shown, based on shorthand queries and `useDashboard` to select documents. ## Default UI Document selection dialog. ![image](../images/li-reference-ui.png) ## Storage Format ```js { $ref: 'document', reference: { id: } } ``` ## Content Type Config ```js { handle: 'myContentType', // ... metadata: [ { handle: 'myHandle' type: 'li-reference', config: { // common hideFromForm: false, // optional, default: false required: true, // optional, default: false requiredErrorMessage: 'Provide a value', // optional index: true, // optional, default: false. Added in release-2023-07 // specific referenceType: 'document', documentType: 'data-record', // optional, one of article, page, data-record contentType: 'author', // optional, content type handle (or array) prefillAuthor: true // optional, default: false published: true // optional, shorthand for publication baseFilter, default: false }, ui: { label: 'foo', // optional, takes camelized name otherwise config: { displayFilters: ['timeRange'] } } } // ... ] } ```