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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Uploading multiple pho...
Power Apps
Answered

Uploading multiple photos to SharePoint list

(0) ShareShare
ReportReport
Posted on by 726

I have a an with multiple screens, in each screen they are taking a photo, to do this i am currently using the attachment control and then on the last screen on visible it shows all the attachments/photos they have taken using this 

 

ClearCollect(Test8,Test1,Test2, Test3, Test4, Test5, Test6);ClearCollect(Test7,AddColumns(RenameColumns(Test8,"Name","DisplayName"),"Id",""));UpdateContext({varAttachment: true})

 

They can add up to 15 photos while using this app, this is why i have decided to use attachment control as i don't want to over use flow. 

 

The issue i have is i want the photos to be taken in real time, instead of selecting from photo gallery on their phones, is there a way to disable this function? or another way to collect this many photos to a SharePoint list

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @amyharkus86 ,

     

    Please try:

    1\Add a Add picture control(For testing purposes, I use picture control instead of Camera control)

    2\Add a button.

    OnSelect:

    Collect(
     MyPics, /*create a collection to save the pic*/
     {
     DisplayName: Concatenate(
     "image",
     Text(
     Now(),
     "[$-en-US]yyyy-mm-dd-hh-mm-ss"
     ),
     ".jpg"
     ),
     Value: UploadedImage1.Image,
     AbsoluteUri: "",
     Id: "00000000-0000-0000-0000-000000000000"
     }
    )

    3\Add a Gallery

    Items: MyPics

    4\Add a Form(Form1)

    DefaultMode: FormMode.New

    DataSource :'List A'

    Item: LookUp('List A',ID=1) /* Specify records to update */

    set the attachments control’s Items property to: MyPics(Important!Refer to the picture attachment for detailed settings)

    vbofengmsft_0-1681781769312.png

     

    Visible: false /* Make the entire form invisible (beautiful consideration)*/

    4\Add a button

    OnSelect:

    SubmitForm(Form1);

     

    Best Regars,

    Bof

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard