cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Move data along with attachments from Custom Entity to Other Entity

Hello

 

I want to move data along with attachments from one entity to other entity. Using Patch I am able to move data , but cannot find how to copy the attachments.

 

Can somebody suggest how o move attachments from one entity to other entity whose fields are different

 

Thanks And With Regards

Partha

1 REPLY 1
Highlighted
Community Support
Community Support

Hi @kbpartha24 ,

 

Sorry but so far it is not available to use Patch to add the attachments from one entity to another. Usually, when using Patch to add attachment, there is one workaround that is to use the an edit form to only have the attachment data card, and use "EditForm1.Updates" in Patch function to achieve this. Formula would be something like:

Patch(
   'xxx',
    Defaults('xxx'),
    {
      Column1:TextInput1.Text,
      Column2:TextInput2.Text,
      Column3:TextInput3.Text,
      ...,
      ColumnN:TextInputN.Text
    },
    EditForm1.Updates
)

But this requires that the EditForm1 has the same data source as the one you patch to. Since you are trying to move the attachment from one data source to another, this cannot achieve what you need.

 

Please consider to add an idea if you need this feature:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Users online (8,849)