Copied to clipboard

Flag this post as spam?

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


  • Lucas Kwasnik 8 posts 78 karma points
    Dec 29, 2015 @ 18:19
    Lucas Kwasnik
    0

    Using Archetype in Custom Section on Umbraco 7

    I have created a Custom Section that allows for creation of new nodes of a specific doctype using an Angular view and controller. I am rendering all of the properties for that doctype that I want to be able to update in this section using this:

    <ng-form>
        <umb-property property="property" ng-repeat="property in tab.properties">
            <umb-editor model="property"></umb-editor>
        </umb-property>
        <pre></pre>
    </ng-form>
    

    All of the properties I'm using display correctly, except one which is using an Archetype datatype. I am getting the error:

    Cannot read property 'contentTypeAlias' of null

    This is occurring on line 727 on the archetype.js file.

    Is there anyway to get an Archetype property to work in a Custom Section like this?

  • 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.

Please Sign in or register to post replies