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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cannot store data in a...
Power Apps
Unanswered

Cannot store data in a collection to a SharePoint list keep getting error specified column does not exist

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I'm really new to power apps and I'm struggling to get data from a collection into a SharePoint list.  The first part works writing data from a collection into an order SharePoint list, however when I ask it to write into a different list it won't work, it keeps saying 'The specified column 'ItemSize' does not exist. The column with the most similar name is 'ItemSize', the column does exist.

 

This is the OnSelect function I am using, the first part works, where 'ShoeStyle Orders v3' is the first SharePoint list, colShoppingCart3 is my collection. This does create a record as expected.

 

The second part is where it gives me the error, 'ShoeStyle Ordered Items v3' is a different sharepoint list where the fields match however I get the error, it adds the Title field and required rows depending on the number of items selected but not the rest of the data:

 

Set(varRecordID,Patch('ShoeStyle Orders v3',Defaults('ShoeStyle Orders v3'),{Title:TextInput2.Text,'Order Comments':TextInput3.Text,'Order Total':With({ST:Sum(colShoppingCart3,SubTotal)},ST+ST*0.07+4.99)}).ID);

 

Collect('ShoeStyle Ordered Items v3', AddColumns(colShoppingCart3, "OrderID", varRecordID))

 

Any help would be really appreciated

Categories:
  • scalca Profile Picture
    on at

    I would still recommend to use Patch in order to submit to your second SP List instead of collect which seems to push data into SP but does not recognize added columns.
    instead I would use Patch within a ForAll loop to create items in SP
    ForAll(AddColumns(colShoppingCart, "OrderId", varRecordId), Patch(test, Defaults('ShoeStyle Ordered Items v3'), {Title: ThisRecord.Name, Order: ThisRecord.OrderId}))

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard