How to programatically setup views for content types?

System Information
  • Strapi Version: 4.3.4
  • Operating System: macOS
  • Database: PostgreSQL
  • Node Version: 14.20.0
  • NPM Version: 6.14.17
  • Yarn Version: 1.22.19

I can see through the Strapi Admin UI how to customise the forms after you create a custom content type through code however, I don’t particularly want to set this up for every environment the changes will go through.

Is it possible to set up the form’s appearance (position, width, editable etc) whilst creating the content type?

I don’t think you can as far as I know.

But I know of a case where a person just pulled down the part of the database that stores the order.
And then in boostrap.js applied this to the other environments. So if one changed another one would take over and do the same thing. :slightly_smiling_face:

Thanks for your feedback, I’ll look into the database and copy the settings between environments