cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate Values in List XML View

Former Member
0 Kudos

Dear All,

I have extended the standard PO Approval Fiori app.

In that, I have added some Text to be passed via the Notes, which I am showing via List.

The Odata for the list shows up properly, but when I display it shows duplicate values.

My Code for List.

      <!-- Notes (PurchaseOrderNotes)  -->

      <List

       id="NotesBox"

    items ="{Notes}"

       inset="true"

       showSeparators="None">

       <items>

       <StandardListItem

         id="NoteTemplate"

         title="{Text}" >

       </StandardListItem>

       </items>

      </List>


Screenshot of Odata.

Screenshot of XML View

Please Guide.

--

Regards

SAurabha J

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This question is answered.

The table passed from the odata needs a unique key to display properly in UI5.

We added a unique key NoteID and the issue was solved.

--

Regards

SAurabha J

Answers (1)

Answers (1)

Former Member
0 Kudos

This message was moderated.