Slice inventory

Slice usage per Custom Type

Hi Prismic people,

I’d like to know if there’s an existing/easy way to count slice usage per Custom Type / Page Type.

The goal would be to know which slices are used the most, or the least, to update, or delete them.

So far, I’ve created a script that computes a matrix of all slice types, and all custom types that works OK. Its major inconvenient is that I don’t know if a slice belongs to a custom type, or not. I can see that it’s not used, but not that it can’t be used at all.

Thank you!

Hey @thomas.digregorio,

Thanks for raising this and for your feedback! There's no built-in way to count slice usage per custom type/page type at this time, but I've created a feature request for it here: Jira.

I don't know when/how it might be implemented in the future, but the dev tools team will know there's a user need for it. I've linked your ticket to the feature request so you can be updated when there's any news :slight_smile:

Hi @Ezekiel

Thanks for creating that feature request!

1 Like