Articles tagged #modelsbuilder


UMB.FYI
2025-09-24

📰 Demystifying Umbraco Models Builder generated version attribute

Umbraco Models Builder is a vital feature for Umbraco websites, generating "strongly-typed" C# classes that represent Document Types in the CMS. These models enhance development by being utilized in controllers and views. However, each generated class includes the current Umbraco version, which may impact version management.

UMB.FYI
2024-12-04

📰 Quick fix for IPublishedSnapshotAccessor issues when upgrading to Umbraco 15

In upgrading to Umbraco 15, users of ModelsBuilder may encounter issues due to the removal of the IPublishedSnapshotAccessor interface, causing model build failures. Søren Kottal suggests reintroducing the interface by adding a specific code snippet to .generated.cs files, allowing for successful model rebuilding and compatibility with Umbraco 15.

UMB.FYI
Archive Polls Tips Firehose Privacy About

UMB.FYI is built with ❤ by the Umbraco community and is not affiliated with Umbraco HQ