cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
CodeNoob
Level: Powered On

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 Smiley Happy

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
Community Support Team
Community Support Team

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

 

 

 

 

 

1 REPLY 1
Community Support Team
Community Support Team

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

 

 

 

 

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 205 members 4,370 guests
Please welcome our newest community members: