Forum Discussion

Musto93's avatar
Musto93
Copper Contributor
Feb 15, 2021

Webpart SPFX Issue: Items$expand=Categorie vs column Categorie

Hi,
I have a trouble in lookup field, my Code list has a field named Categorie and this code:
Items$expand=Categorie&$select=Title,Column_x002d_1,Column_x002d_2,Column_x002d_3,Column_x002d_4,Column_x002d_5,Date,Police_1,Police_2,Categorie/Title"

it seems like he mixed between Categorie for lookup field and my own field Categorie. How can I separate or solve this. 

  • Sudharsan K's avatar
    Sudharsan K
    Steel Contributor

    Musto93 

    Whatever you had mentioned is not clear. Based on my understanding, you cannot have 2 fields with the same name. The name should be different, try to check the internal name from the list settings and use the internal name in the query.

     

    Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
    -Sudharsan K...

Resources