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 / Customizing SharePoint...
Power Apps
Answered

Customizing SharePoint form loads in PowerApps with Error on all fields " The function has some invalid arguments " and "Invalid argument type(Record). Expecting a table value instead."

(0) ShareShare
ReportReport
Posted on by 309

I am customizing SharePoint form and when the form opens in PowerApps it opens with errors on all fields " The function has some invalid arguments " and "Invalid argument type(Record). Expecting a table value instead." I cant figure it out.

 

 

 PowerAppsError.jpg

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Yemata 

    Most likely an issue with the DataSource and/or the Item properties of the Form.

    I would have a look at those and see if they are set properly.

    The DataSource should be your list/datasource

    The Item property should return a record from that datasource.

     

    Any variations on those are going to cause you errors like this.

     

    I hope this helps lead to a solution for you.

  • DaynaBee Profile Picture
    309 on at

    @RandyHayes  

    Thank you so much for the quick responce. 

    That is what i thought too since the whole form has an issues, but couldnt figure out what is set wrong. You mentioned two things 

    The Data source is My list ( colored green ) 

    Here is what is on the Item   "If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('Status'),SharePointIntegration.Selected) 

     

    I have noticed that the on the MaxLength property my data source/ the list name is not colored green but black .  DataSourceInfo('Status', DataSourceInfo.MaxLength, "Title") 

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Yemata 

    Have you done any other customizations to anything in the form?

    If not, you might consider deleting the form and then adding it back in, setting your datasource and then use that sae formula for the Item property.

     

  • DaynaBee Profile Picture
    309 on at

    @RandyHayes 

    Awesome , thank you so mcuh for the solution . It worked.

     

    Thank you again. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard