Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Lookup field with api rest syntax

$
0
0

Hi,

Someone can tell me how set the value of a lookup field with the rest api.

I try this but it doesn't work.

data: "{__metadata:{'type':'SP.Data.MyListListItem'},'Title':'mytitle','MyLookUpField':'itemtitleoftheotherlist'}",

Any idea ?

Regards,

EM.  


Viewing all articles
Browse latest Browse all 7589

Trending Articles