Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Siavash Mortazavi 24 posts 145 karma points
    Nov 14, 2016 @ 20:51
    Siavash Mortazavi
    0

    Umbraco documentations sometimes crack me up!

    In this page about ModelBuilder, the documentation reads as:

    Dll: generate models in a Dll in ~/bin (causes an application restart) whenever the user "clicks the button".

    But, which button?! Hahaha! I think the page is referring to Back office > Developer > Models Builder > Generage Models button.

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Nov 15, 2016 @ 06:41
    Dennis Adolfi
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft