London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

SaaS core: Cannot delete the content type because it is in use

Vote:
 

Hello,

I can not delete the content type "Button" because it is in use by some page instance even i have deleted all page instance in CMS. Now in CMS i just see root page em empty block for all application, i also see empty in Trash

When i try go to recent gadget i see _layout then i click on it after that i see the list of page but i did not konw how to delete them

here is my screenshot:

Regards,
Thao Pham

#330867
Oct 03, 2024 3:34
Vote:
 

Did you delete all block instances as well?

#330868
Oct 03, 2024 6:30
Vote:
 

Hi Eric Herlitz,

I selected blocks tab and see everything is empty. which mean all instance was deleted already

Thanks

#330871
Oct 03, 2024 9:35
Vote:
 

The only ways I can figure to find out what could remain in the DB in SaaS is by either checking Graph or to use the import/export. In the latter case you should export everything and look in the export for references to the block.

#330872
Oct 03, 2024 10:24
Vote:
 

The only ways I can figure to find out what could remain in the DB in SaaS is by either checking Graph or to use the import/export. In the latter case you should export everything and look in the export for references to the block.

#330873
Oct 03, 2024 10:24
Vote:
 

Hi Eric Herlitz,

There are no content items exported

Can i have your skype then i will call and share screen for your support

Regards,

P

#330875
Edited, Oct 03, 2024 10:38
Vote:
 

It appears as if your have some dangling references in the database, you'll need to proced via the help center. https://support.optimizely.com/hc/en-us/requests/new

Start here and include a link to this thread in the post since it should contain all information they can possibly need.

#330878
Edited, Oct 03, 2024 10:43
Vote:
 

If you can get the keys (GUIDs) for the content items in the error message, and you're comfortable with Postman, you can try to delete them using the CMS Rest API -- make sure to skip the trash (permanent = true), since (as you've seen) they won't show up there.

API delete content: https://docs.developers.optimizely.com/content-management-system/v1.0.0-CMS-SaaS/reference/content_delete 

#330889
Oct 03, 2024 15:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.