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 / PowerApps is looking f...
Power Apps
Answered

PowerApps is looking for a column on SharePoint that does not exist

(0) ShareShare
ReportReport
Posted on by 21

Hi all, 

 

I hope someone can help. I have a patch function in place as follows: 

 

Patch(Register, varSelectRecord, {Status: "Checked In"});

 

However, PowerApps has an error which says over the varSelectRecord "The specified column '{HasAttachment}' does not exist."

 

I don't have anywhere in the app that used the HasAttachment column, and I think it has since been deleted. 

 

I tried to "refresh" PowerApps so that it could re-read the SharePoint list but error still comes up. I don't know why it is looking for this column. 

 

Just for your information, the varSelectRecord variable is set at the Gallery page when an user selects a record. 

 

Any help is much appreciated. Many thanks. 

Categories:
  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Check how you create the var becuase the error is on that var...

     

    Also, refresh the shareoint connection on power apps


    You can always create a new var and check if it gives you that error.

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • JoeChanUK Profile Picture
    21 on at

    Thanks for your reply. The variable comes from Set(varSelectRecord,galleryVisitor.Selected), so there is nothing specific in looking for the missing column that is not used anywhere in the app. 

     

    I removed the SharePoint list and re-added, but the same issue appears...

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

    @JoeChanUK 

    Please consider changing your Formula to the following:

    UpdateIf(Register, ID=varSelectRecord.ID, {Status: "Checked In"});

     

    I hope this is helpful for you.

  • JoeChanUK Profile Picture
    21 on at

    Thanks for your input. I have found out the global variable in question is causing the issue, although I don't know why as I haven't used the field that PowerApps was looking for from SharePoint at all. Changing the name is a workaround, but would be interested to find out exactly what happened to that specific global variable. 

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard