cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Help needed- Trouble with names for listed photos.

I'm having trouble naming my photos when exporting from PowerApps to SharePoint. I made a working flow that uploads the photo to SP, but they overwrite each other as they have the same file name. I cannot find anything online that works for me, so if you have a solution for my problem, please let me know 🙂

See attached photos of my problem.

Edit: I am new to PowerApps and Flows, and I would therefore really appreciate it if you could explain it as simple as possible.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Help needed- Trouble with names for listed photos.

Hi @CodeNoob ,

 

Do you want to save Photoes without duplicate name?

You can try the following workaround,I test as next:

Button_takephoto.OnSelect:

Collect(PhotoList,{Photo:UploadedImage1.Image,FileName:Concatenate("File",Text(Today(),"[$-en-US]dd/mm/yyyy"),Text(CountRows(PhotoList)),".jpg")})        (PhotoList is my collection name and you can change it to your collection name on your side,of course you can use other time function to disinguish for example:Now())

20190411savePictureWithoutDuplicatedName.PNG

 

Hope this could be helpful.

 

Best Regards.

Yumia

 

 

 

 

 

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Help needed- Trouble with names for listed photos.

Hi @CodeNoob ,

 

Do you want to save Photoes without duplicate name?

You can try the following workaround,I test as next:

Button_takephoto.OnSelect:

Collect(PhotoList,{Photo:UploadedImage1.Image,FileName:Concatenate("File",Text(Today(),"[$-en-US]dd/mm/yyyy"),Text(CountRows(PhotoList)),".jpg")})        (PhotoList is my collection name and you can change it to your collection name on your side,of course you can use other time function to disinguish for example:Now())

20190411savePictureWithoutDuplicatedName.PNG

 

Hope this could be helpful.

 

Best Regards.

Yumia

 

 

 

 

 

View solution in original post

Helpful resources

Announcements
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,083)