How to Bind OData $count from expanded collection in an XML view

后端 未结 4 622
终归单人心
终归单人心 2020-12-30 05:30

May be this is a basic question, but I have trouble binding the OData count in XML view.

In the following example, I want to bind the count of products from the ODat

4条回答
  •  难免孤独
    2020-12-30 06:09

    I had a similar issue. Although I am not thrilled with my solution, it uses expression binding and works without the need for a separate formatter:

      
      
    
    

    Like @Jasper_07, you still need to include Products in the expand, but you are ignoring most of the data coming back.

提交回复
热议问题