
Announcements
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
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)
Visible: false /* Make the entire form invisible (beautiful consideration)*/
4\Add a button
OnSelect:
SubmitForm(Form1);
Best Regars,
Bof