Contentful logo

Contentful Community

Disable Publish/Unpublish asset/entry anyway button

Hello!

This may be a simple question. I want to disable the “Publish/Unpublish asset/entry anyway” button because I want to avoid the issue in case someone unpublish the asset/entry by accident which linked to another published entry. This will break the frontend. But I did not find a way in the document to turn off this feature in specified model or asset. Could you give me the advice to do this?

Hi @bkk-media-eng, unfortunately, it is not possible to disable the warning at the moment, however, I will submit a feature request on your behalf.

I understand your concern that entries in draft status will not be returned via Content Delivery API, draft entries are returned with an ‘unresolvable link’ error in the response, and the error needs to be managed. If you are using one of our official SDKs, you could use the configuration options to skip the unresolvable links, otherwise, the error needs to be managed with custom logic.

1 Like