cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kbpartha24
Level: Powered On

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
Community Support Team
Community Support Team

Re: Move data along with attachments from Custom Entity to Other Entity

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Users Online
Currently online: 109 members 5,476 guests
Please welcome our newest community members: