Per Nergård (MVP)
+2
Apr 7, 2016
visibility 4223
star star star star star star
(2 votes)

Missing properties initializationmodule

Three years ago I did a admin plugin that give developer or admins a quick way to delete properties that no longer are defined in code. I still use it in all my projects but it's still happens that some missing properties slip away, especially when you work in teams with several developers hacking away. Old blog post with link to code here..

I wanted this to be handled automatically so I have created an initializationmodule to do just that. It has a check if it should check for properties or no,t so you can easily change it to whatever fits your situation. 

As usual you can get the code over at Gist.

Apr 07, 2016

Comments

error Please login to comment.
Latest blogs
Extending a Contract: What You Can Override

Contracts share fields across content types — but not every field setting can be overridden. Push the same contract onto several components, and CM...

Chirag Khanna | Sep 18, 2026 |

Building a Blazor Server UI Inside the Optimizely CMS 13 Admin Shell

What I learned shipping a Blazor Server UI inside Optimizely CMS 13 — Razor components in a NuGet package, the Blazor hub next to MapContent(),...

Stanisław Szołkowski | Sep 17, 2026 |

Giving Optimizely 13 Content Types Meaningful Icons and Thumbnails

When working with an Optimizely CMS solution that has evolved over time, it is common to end up with many content types. As the number grows, the...

Pär Wissmark | Sep 16, 2026 |

force-dynamic vs connection() for Optimizely Graph

If you have built an Optimizely CMS SDK site, you already know getContentByPath on a catch-all. This post is about the part that file never says ou...

Chirag Khanna | Sep 16, 2026 |