Is the dataviewlist widget only usable for subentities/generalizations?

0
I would like to use it for 'ordinary' associated entities...
asked
2 answers
4

What is it exactly you want to accomplish? To show objects in the DataViewList constrained over an association, you could set a XPath constraint on the DataViewList.

Let MyFirstModule.A and MyFirstModule.B be entities, associated with association MyFirstModule.A_B. Now if you have a DataView with entity MyFirstModule.A, and you want to display a list of associated objects of entity MyFirstModule.B (over association MyFirstModule.A_B) in that DataView, a DataViewList can be used with XPath constraint

[MyFirstModule.A_B='[%CurrentObject%]']

This would work the same as when using a DataGrid or TemplateGrid.

answered
0

Yes it is usable for referenced entities. Just use the xpath property of the widget to limit the number of entries retrieved. I'm using it to display referenced information on products. Products:productattributes = 1:0

answered