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 / Patch function for att...
Power Apps
Answered

Patch function for attachments

(0) ShareShare
ReportReport
Posted on by 23

Hello guys!

 

I'm building a Help Desk application using SP Lists and Power Apps, and i want to give my users the option to attach files on the ticket opening (that works perfectly) or after the ticket is already opened, however i can't figure a way to attach the files to a already open ticket.

I'm using this Patch function on the "Anexar Arquivo" green button: 

Patch('Portal Único de Atendimento';Defaults('Portal Único de Atendimento');{Anexos:DataCardValue15_1})

Screenshot_9.png

Powerapps does not show any errors on the formula, however, the files i try to add are not being attached to the ticket, so it means that my SP List is not receiving it, any tips on how to make this work?

 

Thanks in advance!

Categories:
I have the same question (0)
  • LRVinNC Profile Picture
    2,297 on at

    Unfortunately, Patch does not support attachments.  You'll have to use an edit  form if you want to be able to add an attachment to the record.

    LRVinNC

  • pedroperondini Profile Picture
    23 on at

    Hi @LRVinNC , thanks for your quick response!

    That's unfortunate, patching the attachments would be very easy. Could you please give me a more in depth explanation about how i could use a edit form to achieve what i need? I'm pretty new to Power Apps, this is my first project using it.

  • Verified answer
    LRVinNC Profile Picture
    2,297 on at
  • pedroperondini Profile Picture
    23 on at

    Thank you @LRVinNC , the method by submiting the form worked, but i still have a doubt, i created a whole new screen for it, like so:

    Screenshot_10.png

    Do i really need a new screen to submit this form? Or can i have more than one form in the same screen?

  • LRVinNC Profile Picture
    2,297 on at

    No, you don't need a new screen.  You should be able to include the attachment control within your existing form.  To answer your specific question, yes it is possible to have more than one form on a screen.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard