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})
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!
Solved! Go to Solution.
Here's a couple posts on the topic to take a look at:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Need-to-add-Attachment-to-a-PATCH-to-a-Share...
https://powerusers.microsoft.com/t5/Building-Power-Apps/Saving-attachments-using-Patch/td-p/277984
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
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.
Here's a couple posts on the topic to take a look at:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Need-to-add-Attachment-to-a-PATCH-to-a-Share...
https://powerusers.microsoft.com/t5/Building-Power-Apps/Saving-attachments-using-Patch/td-p/277984
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:
Do i really need a new screen to submit this form? Or can i have more than one form in the same screen?
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.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
183 | |
71 | |
43 | |
34 |
User | Count |
---|---|
338 | |
269 | |
117 | |
67 | |
66 |