Is there a way to implement templates when creating a new entry?

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hi everyone,

I have a “Post” collection type with fields like title, body, thumbnail, etc. However, I find myself repeatedly writing the same content for some fields every time I create a new entry of “Post” in Content Manager. To streamline this process, I would like to implement templates that allow me to choose and load predefined content when creating a new entry, automatically filling out some fields.

I would appreciate any guidance on how to achieve this functionality using Strapi. I thought it would be good if I could like this:

  1. Define templates in a separate collection type, let’s call it “Post Template”.
  2. Populate the “Post Template” collection with predefined templates.
  3. Enable the selection of a template when creating a new “Post” entry.
  4. Automatically load the selected template’s content and fill out relevant fields of the “Post” entry.

If I can do like this, where should I put or edit the code like event listeners and handlers for step 3~4 in Strapi?
If anyone has implemented a similar feature or has suggestions on how to approach this, I would be grateful for your insights and advice. Thank you in advance!