Hi all,
I have a edit form in which I show SP list1 data and I want to patch SP list2 with data from SP list1 edit form.
I'm able to patch almost all columns in SP list2 but couldn't patch attachments.
I tried SPListEditform.updates in patch function but it didn't worked.
My code:
Patch(Splist2,
defaults(Splist2),
{column1:SPListEditformDataCard.text},
SPListEditform.updates
)
I want the same attachments in SP list2 which is in SP list2.
Any help would be highly appreciated.
Thanks,
R
Hi @WarrenBelz , I tried what was explained in that video of Shane but when I open the attachments patched to SP , they show inaccurate data eg. images corrupted, excel file showing url and not tables etc..
But I did try Reza Dorrani's Video ,it helped me achieve what I was looking for, some validations applied and it worked for now.
On my part data source is SP list 1 for gallery and SP list 2 for form.
In gallery items , displayed attachments thumbnail(Reza's video) , which allows to download attachments from form while selecting gallery items.
Hi @r_voyager ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @r_voyager ,
Attachments can only be saved directly from Power Apps with either SubmitForm or Patch(FormName.Updates) when the Form Item is from the list you are adding the attachment to. The only way to add it to another list would be to go down the rather complex patch of sending it off to Power Automate and attaching it. This video from Shane Young @Shanescows may assist if you want to venture there.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.