Copied to clipboard

Flag this post as spam?

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


  • Christian Koch 20 posts 90 karma points
    Feb 02, 2022 @ 08:14
    Christian Koch
    0

    Necessary references in templates / minimum if not using Modelsbuilder

    I created a document type named Product. The automatically created template for that document type includes the following references.

    @using Umbraco.Cms.Web.Common.PublishedModels;
    @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<ContentModels.Product>
    @using ContentModels = Umbraco.Cms.Web.Common.PublishedModels;
    

    Questions:

    1. Could someone explain me for what each reference is necessary?
    2. What references can be deleted if I just want to use Umbraco without Modelsbuilder?
  • Christian Koch 20 posts 90 karma points
    Feb 02, 2022 @ 17:03
    Christian Koch
    0
    @using Umbraco.Cms.Web.Common.PublishedModels;
    

    I do not see any use in this reference. For what it is needed?

  • Christian Koch 20 posts 90 karma points
    Feb 03, 2022 @ 08:34
    Christian Koch
    0

    No one here who can help me?

Please Sign in or register to post replies

Write your reply to:

Draft