Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

'Item' property showing error in SharePointForm

(0) ShareShare
ReportReport
Posted on by 66

Hi All,

I am trying to customize a SharePoint list form in PowerApps. The first time the powerapp form is loaded, it is throwing error. The 'Item' property of SharePointForm1 is throwing error in "First(" function.

basukunal001_0-1676024273951.png

Error: Error When trying to retrieve data from Network

I've tried removing data source and added again but couldn't resolve the issue. The list doesn't have any lookup columns and this error is not occurring in other lists within the site.

Can anyone suggest the necessary steps to be taken to resolve this issue?

 

Thanks,

Kunal

  • iAm_ManCat Profile Picture
    iAm_ManCat 18,151 on at
    Re: 'Item' property showing error in SharePointForm

    Ah nice, thanks for coming back and letting everyone know the solution 🙂

     

    Hope you have a good weekend!

    Cheers,

    Sancho

  • Verified answer
    basukunal001 Profile Picture
    basukunal001 66 on at
    Re: 'Item' property showing error in SharePointForm

    Hi @iAm_ManCat ,

     

    I got the fix. Actually, the number of Person or Group fields exceeds the limit so I was getting this error. When I reduced the Person or Group fields to 12, the issue is resolved.

     

    Thanks,

    Kunal

  • basukunal001 Profile Picture
    basukunal001 66 on at
    Re: 'Item' property showing error in SharePointForm

    Hi @iAm_ManCat ,

     

    This is the default formula for the SharePointForm1 >> 'Item' property. I've replaced it with the formula you suggested. Still I am getting 1 error. Please see the highlighted item below.

    basukunal001_1-1676033070916.png

     

    Thanks,

    Kunal

  • iAm_ManCat Profile Picture
    iAm_ManCat 18,151 on at
    Re: 'Item' property showing error in SharePointForm

    That's not what I suggested?

  • basukunal001 Profile Picture
    basukunal001 66 on at
    Re: 'Item' property showing error in SharePointForm

    Hi @iAm_ManCat ,

     

    I've changed the default mode from 'Edit' to 'New' but still it is throwing error.

    basukunal001_0-1676029995450.png

     

    Thanks,

    Kunal

  • iAm_ManCat Profile Picture
    iAm_ManCat 18,151 on at
    Re: 'Item' property showing error in SharePointForm

    Hey @basukunal001 

     

    Are you trying to show a blank item when an item isn't selected? By using first, it will show the first available (lowest ID), not a blank, and I assume you are trying to have the item display a blank item when you select New vs Edit

     

    Could you try this instead?

    If(IsBlank(SharePointIntegration.Selected.ID), Blank(), SharePointIntegration.Selected)

     

    Cheers,

    Sancho

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard