web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch function for att...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard