Try our conversational search powered by Generative AI!

How to add properties to the start page?



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.

Feb 25, 2016 17:07

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.

Feb 25, 2016 17:56

Thanks! It was the virtual that got me :)

Feb 25, 2016 17:58

That one gets me still sometimes too. :)

After 10 years of Episerver coding. Kind of embarrassing really..

Feb 25, 2016 21:53
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.