--- title: li-document-references description: "A list of references to other documents." --- ## History | Version | Change | | ------- | ------ | | release-2025-05 | Table dashboard support was added in the `2025-05` release. | ## 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 A `li-document-references` metadata field is a list of references to other documents. A Document Selection Dialog is shown, based on shorthand queries and `useDashboard` to select documents. [Display Filters](/customising/advanced/editor-configuration/display-filter/llms.txt#metadata-filters) support Added in: [`release-2023-09`](/operations/releases/release-2023-09/) ## Default UI Selected documents, or document selection dialog ![image](../images/163945540-02557891-ee21-42c5-a03e-4bfb1723e228.png) ## Storage Format ```js { $ref: 'documents', references: [ { id: } ] } ``` ## Content Type Config ```js { handle: 'myContentType', // ... metadata: [ { handle: 'myHandle' type: 'li-document-references', 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 documentType: 'article', // optional, one of article, page, data-record contentType: 'my-content-type', // optional, filters the document selection published: true, // optional, shorthand for publication displayFilter, default: false prefillAuthor: true, // optional, add document creator if the prefilling configuration for the current user exists, default: false. Added in release-2023-09 min: 2, // optional, minimum number of articles required. Use in combination with `required: true` if you would like to prevent `undefined` from being allowed. Added in release-2023-09 max: 4 // optional, maximum number of articles required. Added in release-2023-09 }, ui: { label: 'foo', // optional, takes camelized name otherwise config: { style: 'default', // optional, defaults to 'default'. Other options: 'teaser' | 'minimal' useDashboard: '', // optional, reference to a custom dashboard baseFilters: [], // optional, extends base filters from the dashboard specified in useDashboard displayFilters: [], // optional, overrides display filters in selection dialog cacheSearch: false, // optional, used to persist search query and filters when reopening search dialog, default: false sortable: true, // optional, allow drag and drop sorting of items (not compatible with `style: 'minimal'`), default: false readOnly: false // optional, default: false } } } // ... ] } ```