
By Felix M.
A Strapi plugin that displays entity metadata, with an option to include the "last opened" details.
released October 10, 2026
npm install strapi-plugin-document-metadata
A Strapi plugin that displays entity metadata, with an option to include the "last opened" details.
Install with NPM.
npm install strapi-plugin-document-metadata --saveInstall with Yarn.
yarn add strapi-plugin-document-metadataAdd the following configuration to your config/plugins.ts file. Create the file if it doesn’t already exist:
export default {
// …
'document-metadata': {
enabled: true,
},
};Then restart the app to apply the changes.
Once the plugin is installed, the Document Metadata card automatically appears when editing collection type entries. By default, it displays:
No additional setup is required for these fields.
To enable Last Opened tracking, add the following fields to your collection type using the Content-Type Builder:
| Field name | Type | Required |
|---|---|---|
openedAt | DateTime | ❌ |
openedBy | String | ❌ |
Once these fields exist:
Note: To prevent these fields from showing up in the regular edit view, remove them under "Configure the view".
Below are screenshots from an example application showing the document metadata in the list view and when editing an entry.
Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.
Submit
