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 is a companion discussion topic for the original entry at https://our.umbraco.com/forum/73955-using-archetype-in-custom-section-on-umbraco-7