Hi,
Im using a ItemRelation list in an item.
DW version 9.17.6
I experience that some relations in the list isn't returned when I call ItemList.GetItemListById(itemlistId).
I checked in the database, at all relations are there as expected.
Any suggestions to why they are not all available in the ItemList.GetItemListById(itemlistId); ?
The code below:
List<string> list = new List<string>();
if (item != null)
{
var itemlistId = Convert.ToInt32(item["TypeFacets"]);
var itemList = ItemList.GetItemListById(itemlistId);
foreach(var it in itemList.Relations)
{
list.Add(it.Id);
}
}
feedRoot.availableFacets.TypeFacetEcom = list;
In the feed I get these IDs:
"TypeFacetEcom": ["6","8","12","5","10","14","11","13","7","15","17","18","4","74"
]
In the database it looks like this, which means item '9' is missing:
BR Marie Louise