What version of Models Builder are you using Anders?
If it's the Embeddedd version that ships with Core, I don't believe you can override the generation of properties on models as it's a cut down version. You might need to install full models builder to generate your own properties.
Extend Models Builder Models in v8
Hi Our..
I'm having an stange problem when i'm trying to extend the models that the models builder generates .. :/
I have this field
In an SubjectTopCategory.generated.cs file and then i want to extend it to take the node's name if this field is empty.
So what i did was create an SubjectTopCategory.cs and it has this code in it..
But the generated model keeps generating the field ..
It's an Umbraco Cloud project which has been setup using these ModelBuilder configs
Comment author was deleted
Not 100% sure but do you need to inherit from : PublishedContentModel in your custom class?
I'm not sure either, but i have tried with it and without it .. :)
What version of Models Builder are you using Anders?
If it's the Embeddedd version that ships with Core, I don't believe you can override the generation of properties on models as it's a cut down version. You might need to install full models builder to generate your own properties.
Nik
It's the embedded version.. :)
I will try and install the full models builder and return .. :)
is working on a reply...