Expand = fields ($ select = ***, ****) is not working on a SharePoint Graph resource, what about filtering?

I am playing with microsoft graphics and especially sharepoint beta and I am constantly running into problems. I know its beta version, but still;)

I am going out of my extended fields, but I cannot select any other than id. /items?expand=fields(select=id) <-- works

/items?expand=fields(select=Title) <-- fails with response being

{
  "error": {
    "code": "invalidRequest",
    "message": "The request is malformed or incorrect.",
    "innerError": {
      "request-id": "f460cded-46da-468c-a027-f027707a62fc",
      "date": "2017-05-10T09:00:10"
    }
  }
}
      

Run codeHide result


Further, when trying to filter the request, the request /items?expand=fields&$filter=fields/id eq '421'

does not work, and after a long period it simply returns the answer, not taking into account the filter.

Can someone answer if the experience is the same or if my syntax is wrong or something would be nice. Thank you in advance. Ole Bergtun

+3


source to share


2 answers


i changed /items?expand=fields(select=Title)

to /items?expand=fields(select%3DTitle)

and it works for me.



0


source


I had the same problem for half a year and unfortunately it still hasn't been implemented. You have to get a bunch of redundant data and filter it manually. The worst problem is that fetching all the data is very slow, /



0


source







All Articles