Below is my current filter for my rest API call and this works:
?$select=Id,Title,ProductNo,Description,Image,Version_Id,Version_nr&$filter=(Version_Id eq "+Version+")".
Now I've created a new Document library called ProductFiles.
In my Part List, I created a lookup field to ProductFiles (called Files) so I can link multiple ProductFiles to a list item in Part.
When I'm trying to add the expand to my filter it don't work:
?$select=Id,Title,ProductNo,Description,Image,Version_Id,Version_nr,ProductFiles/Files&$expand=ProductFiles/Files&$filter=(Version_Id eq "+Version+")".
Error:
The field or property 'ProductFiles' does not exist.
Can someone point out what's wrong?