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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,386)