Hi
I have an itemtype (Called Ships) that contains a field of the type link to item (Called owner). Now from what i read here
http://doc.dynamicweb.com/Default.aspx?ID=8083#3787
it should be possible to display the fields of the Linked Item.
I am using the item publisher to loop through several items and show them in a list.
My code is as shown below, but it doesn´t work. I get no output
@foreach (LoopItem i in GetLoop("ItemPublisher:Items.List")){
foreach (LoopItem i2 in @i.GetLoop("Item.Owner.Fields")){
@i2.TemplateTags()
}
}
I have also tried replacing @i.GetLoop("Item.Owner.Fields") with @i.GetLoop("ItemPublsiher.Owner.Fields") and @i.GetLoop("ItemPublisher.Item.Owner.Fields")
Still no result.
Is this not possible to achieve, or am I missing something?
/Hans