Hi DW.
Is it not possible to loop an itemrelationslist inside an itempublisher? When I loop my itempublisher I can get the fields directly from the item (like the Field.Id) but the looping of the itemrelationslist returns an exception "Object reference not set to an instance of an object". I can see tags like this:
- ItemPublisher:Item.Links:3
- ItemPublisher:Item.Links.IsRequired:false
- ItemPublisher:Item.Links.Name:"Links"
- ItemPublisher:Item.Links.SystemName:"Links"
- ItemPublisher:Item.Links.Type:"Item relation list"
- ItemPublisher:Item.Links.Value:3
foreach (LoopItem it in GetLoop("ItemPublisher:Items.List"))
{
@it.GetString("ItemPublisher:Item.Field.Id")
foreach (LoopItem item in it.GetLoop("ItemPublisher:Item.Links"))
{
}
}
Do I need to retrieve the itemrelationslist by some other means?