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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (37,935)