web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SharePoint Form Power ...
Power Apps
Unanswered

SharePoint Form Power App - Lookup Column (Multi Select) - Unable to add the item in FormMode.New

(0) ShareShare
ReportReport
Posted on by 56


Hello, I have created a SharePoint Form Power App. The list contains a multi-select Lookup column ( named Lookup_Main ) and its one Additional column ( named Lookup_Additional ).


When the FormMode.Edit, the App works, and the list gets updated easily!

In FormMode.New, I get below error always. How to resolve this?

domino_kart_0-1717432526299.png

 

Here is the entire code I tried. I tried making Lookup_Main as required and not required as well. Both don't seem to work!

 

Update property of "Lookup Additional Column"
------------------------------------------------------------------------------
If(
 SharePointForm1.Mode = FormMode.New,
 Table(
 ForAll(Lookup_Main.SelectedItems,
 {
 '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 Value: LookUp(MasterProductData, Product = Value).Title,
 Id: LookUp(MasterProductData, Product = Value).ID
 }
 )
 ),

 SharePointForm1.Mode = FormMode.Edit, Lookup_Additional.SelectedItems,

 SharePointForm1.Mode = FormMode.View, Lookup_Additional.SelectedItems
)


Items Property of "Lookup Additional Column" not changed!
-------------------------------------------------------------------------------------------------
Choices([@'(Test) CBN_TBN_List'].Product_x003a__x0020_Title)


DefaultSelectedItems Property of "Lookup Additional Column"
-------------------------------------------------------------------------------------------------
If(
 SharePointForm1.Mode = FormMode.New,
 Table(
 ForAll(Lookup_Main.SelectedItems,
 {
 '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 Value: LookUp(MasterProductData, Product = Value).Title,
 Id: LookUp(MasterProductData, Product = Value).ID
 }
 )
 ),

 SharePointForm1.Mode = FormMode.Edit, Parent.Default,

 SharePointForm1.Mode = FormMode.View, Parent.Default
)

 

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard