I have a BusinessListBase object and that I am trying to add a new list item to and am getting the error "List item must be marked as a child object".
Code:
var item = myList.AddNew();
Do all items in a BusinessListBase object need to be marked as children? My list object is not a child object so why does it require all of its items to be children?
Confused.
Tks for any assistance.
For a collection of Root items, try using the DynamicListBase<T>
BusinessListBase reuires that the items in the list are child object of the BLB.
Your BLB may be a root or child - but all items in the list must be child objects and cannot be saved in their own "context". They can only be saved as part of save on the "root" object of the structure.
Ok. It seemed like that was the case but just wanted someone to confirm this.
Tks.
Copyright (c) Marimer LLC