Haha, "the button". :)
Yes, the "Generate models" button is the button they are referring to.
It generates models out of your DocTypes that you then can use in your code. So for instance you can write @Model.Content.Header instead of GetPropertyValue("header") or use dynamics @CurrentPage.Header.
Which Button?!
Umbraco documentations sometimes crack me up!
In this page about ModelBuilder, the documentation reads as:
But, which button?! Hahaha! I think the page is referring to Back office > Developer > Models Builder > Generage Models button.
Hi Siavash!
Haha, "the button". :) Yes, the "Generate models" button is the button they are referring to.
It generates models out of your DocTypes that you then can use in your code. So for instance you can write @Model.Content.Header instead of GetPropertyValue("header") or use dynamics @CurrentPage.Header.
Best of luck to you!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.