A simple plugin to generate IDs for your documents in DatoCMS
To enable the random ID generator for your single-line text field, choose "ID Generator" as a field add-on.

When applying this plugin to your field you can set the following settings:

The result of plugin working appears in the field:

Click on the link "Generate ..." generates random ID according to settings.
Install all the project dependencies with:
yarn installAdd this plugin in development mode to one of your DatoCMS project with:
yarn addToProjectStart the local development server with:
yarn startThe plugin will be served from <http://localhost:5000/>. Insert this URL as the plugin Entry point URL.
Before publishing this plugin, make sure:
package.json following the official rules;cover.png) and a preview GIF (preview.gif) into the docs folder.When everything's ready, just run:
yarn publish