Skip to content

A plugin to generate sequential IDs for your documents in DatoCMS

Notifications You must be signed in to change notification settings

NSpehler/datocms-plugin-sequential-id-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequential ID Generator DatoCMS plugin

A plugin to generate sequential IDs for your documents in DatoCMS.

Configuration

Please specify a read-only DatoCMS API key on the plugin global settings:

Demo

Usage

To enable the sequential ID generator for your single-line text field, choose "Sequential ID Generator" as a field add-on.

Install

You can set a prefix and the number of leading zeroes in your sequential IDs:

Configuration

Development

Install all the project dependencies with:

yarn install

Add this plugin in development mode to one of your DatoCMS project with:

yarn addToProject

Start the local development server with:

yarn start

The plugin will be served from http://localhost:5000/. Insert this URL as the plugin Entry point URL.

Publishing

Before publishing this plugin, make sure:

  • you've properly described any configuration parameters in this README file;
  • you've properly compiled this project's package.json following the official rules;
  • you've added a cover image (cover.png) and a preview GIF (preview.gif) into the docs folder.

When everything's ready, just run:

yarn publish

About

A plugin to generate sequential IDs for your documents in DatoCMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages