Does anybody know the properties for setting a Lookup field in CDS using the Patch function? I have the records GUID (which is obviously type GUID), however the Lookup field expects a type 'Record'. I am trying to set an OpportunityID lookup and I need to know the properties expected for a record i.e. ID, Value etc etc). I cannot use a the Lookup function as I hit the delegation limit. Thanks in advance.
Hi @v-monli-msft, thank you for the response. Unfortunately these examples won't work for me as I only know the ID of the record. I will not be able to do a lookup to the record as I will receive a delegation error as there are thousands of records against that entity.
The Patch function should accept just the ID, as it isn't realistic that you have the whole record. For now I have had to use Microsoft Flow as this allows me to create a record and set the value using only the ID, however I think this should be considered for a future release.