cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Save/Create a file in Sharepoint based on an attachment done in powerapps

Hello,

 

I have a canvass app where I can add/remove attachments, the max num of files that can be attached is 6. Everytime there is an added attachment, I like a file created for this attachment in my sharepoint.

 

I checked on some videos by Shane Young (Pen Input), but it is just saving 1 image. How can I achieve this for a DataCard, which contains those attachments?

 

I like it to be done when I click the Check Icon or maybe using Flow. Hope to hear from you guys! Thanks! 😄

 

 

Capture.JPG

 

 

 

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @Anonymous ,

 

Did you mean that you want to add files as the attachments of a SharePoint list? If so, then you just need to use this list as the data source of an edit form control, then add the attachments field's data card. After you add the files using the attachments control, then click the submit button, then the files will be saved as the attachments of the list. The OnSelect property of the submit button should be:

SubmitForm(Form1)

More information about attachments control, please refer to:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-attachments

 

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.
Anonymous
Not applicable

other than that, I like to a new file created in Sharepoint based on the attachment.

Hi @Anonymous ,

 

Where you want the file to be created? On SharePoint document library?

 

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,466)