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

PowerApp Form - Required Lookup Column not updating to sharepoint list

I have a form "myForm" . Which has a required filed that needs to be filled using a default property. but when I submit the form the required field value is not getting added to sharepoint list.

 

MyForm has field "UserID"

 

The DefaultSelectedItems property of UserID field is " Lookup(Employee, ID= currentUser.ID) "

on Save "SubmitForm(myForm)"

 

Form is geetting saved but required column in sharepoint list is empty. Why is it so?

1 ACCEPTED SOLUTION

Accepted Solutions
pcakhilnadh
Helper IV
Helper IV

Solution

 

In the datacard of the UserID. DefaultSelectedItems Property

{

Id: currentUser.ID

Value:Id: currentUser.ID

}

 

It requires both Id as well as Value in the record

View solution in original post

1 REPLY 1
pcakhilnadh
Helper IV
Helper IV

Solution

 

In the datacard of the UserID. DefaultSelectedItems Property

{

Id: currentUser.ID

Value:Id: currentUser.ID

}

 

It requires both Id as well as Value in the record

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,225)