I need to modify the home page to have more properties. We have a Home Page content type. I have added the fields, but I don't see them when I run the applications. What should I do so that I can actually see the new properties?
I suspect the answer is super easy, but I haven't had luck finding the solution.
You can follow this guide to add properties
If you are using example site with alloy you can then just use html.propertyfor extension to output them. Check alloy site for example...
Also remember to use virtual on properties otherwise episerver can't fill them and you will get null values back.
Thanks! It was the virtual that got me :)
That one gets me still sometimes too. :)
After 10 years of Episerver coding. Kind of embarrassing really..