cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Users online (7,980)