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 / Updateif and attachments
Power Apps
Answered

Updateif and attachments

(0) ShareShare
ReportReport
Posted on by 551

Can anyone tell me how to update a sharepoint list using Updateif for the attachment field?  Or a workaround for it as the below doesn't work! 

 

I need to be able to allow my users to open records already in the list, and add/remove attachments.

 

If(
varEdit,
UpdateIf(
'Safety Information',
ID = varCurrentItemID.ID,
{
Attachments:DataCardValue142.Attachments
}
......

Categories:
  • Verified answer
    RM-30040732-0 Profile Picture
    551 on at

    Resolved it after some more testing!

    Used Patch

    If(
    varEdit,
    Patch(
    'Safety Information',
    varCurrentID,
    Section9.Updates

    .....

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard