Forum Discussion
Etienne Fortin
May 15, 2017Copper Contributor
Adding Sharepoint Lookup Item With Graph
I'm experimenting with Graph (Beta) with Sharepoint. I can create items and update their fields. It works for simple fields like text andnumbers. Howerver, I can't figure out how to update fields li...
Sten_Vervoort
Mar 27, 2019Copper Contributor
Etienne Fortin The key is to append "LookupId" to the column name. So if the lookup column name is "Predecessors", then insert the following JSON:
"PredecessorsLookupId": 80,
See https://sharepoint.stackexchange.com/questions/238346/how-to-do-microsoft-graph-api-filter-on-lookup-column-in-sharepoint-list-items
Laurence Lemmon-Warde
Mar 13, 2021Copper Contributor
that is exactly what I was looking for thanks