cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 354 members 4,576 guests
Recent signins:
Please welcome our newest community members: