web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Copy and save attachme...
Power Apps
Unanswered

Copy and save attachment from Collection into Sharepoint

(1) ShareShare
ReportReport
Posted on by 249

Hi,

I need to copy some of the fields of existing sharepoint items and make some modifications into it ans save it as a new item.

In First screen (Form in View mode), I saved the selected item into the Collection.

In Second Screen (Form in New mode), I set up a default values of the fields i need to copy from collection I created in First screen including attachment field. All fields and attachments is defaulted into the new form and I can add new attachments which also shows all previous attachments. While saving by SubmitForm(NewFormCopy), everything is saved including newly added attachments but the attachments which is copied is not saved.


Any ideas, what could be the the problem?

 

Formulas I used:

To copy gallery item into collection: 

ClearCollect(CopyOfRequest,{Title: MyGallery.Selected.Title,Documents:MyGallery.Selected.'{Attachments}'});

Navigate(NewCopyScreen,ScreenTransition.None)

 

To add attachment into Default value of Attachment in new form: First(CopyOfRequest).Documents

 

To save the new item: SubmitForm(NewFormCopy)

screen 3.jpg
screen 2.jpg
screen 1.jpg
Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @pNabin,

     

    Do you want to modify an existing item or create a new item within your app?

     

    I suppose that you want to create a new item within your app with copied Attachments from a collection, is it true? I have made a test and the issue is confirmed on my side. 

     

    The Attachments control lets users open files stored on a data source as well as add and delete files from a SharePoint list. Currently, we could only upload new attachments into a new SP list item via clicking Attach file button within the Attachments control.

     

    If you want to create a new item within your app with copied Attachments from a collection, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

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

     

     

    Best regards,

    Kris

  • pNabin Profile Picture
    249 on at

    @v-xida-msft,

    You are right, I need is Create a new item by copying existing item including attachments.

    Is there any workaround for this scenario you are aware of?  

     

    Thanks,

    Nabin

  • victore Profile Picture
    61 on at

    Has anyone contacted you about this issue? Did you resolve the issue?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard