cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maries1986
Helper IV
Helper IV

Updating Look up Column Sharepoint

Hi,  

 

I have updated a Lookup column on Sharepoint from Powerapps using the following formula on Update:-

 

{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id:DataCardValue60.Selected.ID,
Value:DataCardValue60.Selected.'Parent Host'}

 

But if you go to change the look up column in the app it keeps defaulting back to the pervious value and not letting me Save the form.....any ideas why it is doing that?

 

 

1 REPLY 1
AW
Helper II
Helper II

Not an expert on this, but I'm thinking you need to reference the current value as default. I believe your formula updates correctly, but the default is referencing either the previous or standard default value.

 

In a standard form Default property, this would appear as Parent.Default for the field and reference the Default value in the DataCard. Alternately, you might be able to directly reference ThisItem.{fieldname} as the default. 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,091)