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.
Solved! Go to Solution.
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())
Hope this could be helpful.
Best Regards.
Yumia
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())
Hope this could be helpful.
Best Regards.
Yumia
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
206 | |
187 | |
70 | |
37 | |
34 |
User | Count |
---|---|
350 | |
275 | |
122 | |
78 | |
59 |