Hello, Strapi Community!
I’m looking to customize the logic for the publish and unpublish buttons in Strapi. Currently, when users publish content, duplicate entries are created if there is an existing draft. I would like to implement custom logic to ensure that the existing draft is updated instead of creating a new entry.
Could anyone share guidance or best practices on how to achieve this? Are there specific lifecycle hooks, custom routes, or services I should consider using?
Thank you for your help!
This topic has been created from a Discord post (1302246579809423400) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord