cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hepworthnot
Level: Powered On

Submitting a value to a lookup field

Hi,

 

I have a list Note with a required lookfup field MatterLookup to the ID field of a list called Matter.

 

I want to submit a new Note with a prepopulated value for MatterLookup.

 

I have tried setting the default value of the MatterLookup field on the Note edit form to:

 

{'@odata.type' : "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
ID:Gallery1.Selected.ID,
Value:Gallery1.Selected.Title}

 

It doesn't work. Sometimes I succeed in submitting a new Note record but when I look at the entry in SharePoint the MatterLookup field is empty with a alert that a required field is missing.

 

I have tried setting the default value to the card, to just the drop down and to both. I have changed the Value1 and Value2 options around every which way.

 

All the solutions I have seen on the web suggest the approach above but I simply can't get it to work. 

 

Help would be greatly appreciated.

 

Thanks

Phil

 

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: Submitting a value to a lookup field

Hi @Hepworthnot,

 

I will investigate the issue later and thanks for your patience.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hepworthnot
Level: Powered On

Re: Submitting a value to a lookup field

Hi Mona,

 

have you had a chance to look at this one for me?

 

Thanks

Phil

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,183)