🚀 New Release: Strapi AI Translations! Learn more

Strapi plugin logo for Document Metadata

Document Metadata

A Strapi plugin that displays entity metadata, with an option to include the "last opened" details.

thumbnail for Document Metadata

Strapi Plugin: Document Metadata

A Strapi plugin that displays entity metadata, with an option to include the "last opened" details.

⏳ Installation

Install with NPM.

npm install strapi-plugin-document-metadata --save

Install with Yarn.

yarn add strapi-plugin-document-metadata

🔧 Usage

1. Configure the Plugin

Add 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.

2. Use in the Admin Panel

Once the plugin is installed, the Document Metadata card automatically appears when editing collection types entries. By default, it displays:

  • Created at
  • Created by
  • Last updated at
  • Last updated by

No additional setup is required for these fields.

Last Opened Metadata

To enable Last Opened tracking, add the following fields to your collection type using the Content-Type Builder:

Field nameTypeRequired
openedAtDateTime
openedByString

Once these fields exist:

  • The plugin automatically updates them when a document is opened.
  • The metadata card will display the last opened date and user.

Note: To prevent these fields from showing up in the regular edit view, remove them under "Configure the view".

📸 Screenshots

Below are screenshots from an example application showing the document metadata in the list view and when editing an entry.

Add openedAt and openedBy in the content type builder.  Opened at and opened by in the list view.    Document Metadata when opened for the first time.  Document Metadata.

Install now

npm install strapi-plugin-document-metadata

STATS

No GitHub star yetNot downloaded this week

Last updated

4 days ago

Strapi Version

Unavailable

Author

github profile image for Felix M.
Felix M.

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.