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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / renaming picture send ...
Power Apps
Answered

renaming picture send to blob storage

(0) ShareShare
ReportReport
Posted on by 22

My app is designed to take multiple picture. Picture are shown in  a gallery. User then add a label for those image and send them to a blob storage

 

I want to dynamicly change the name of the picture, adding the image number to the label

 

current code :

 

 

Set(FileName1;Concatenate(textref_2.Text;Text(CountRows(Gallery2_2.AllItems));".jpg"));;



StockageBlobAzure.CreateFile("path/test";FileName1;new_picture_1.Image);;

 

 

But I send only 1 picture and the added number is equal to the number of taken image

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @akhetos ,

    Do you want to send multiple images from your Gallery back to your Blob Storage with dynamic image file name?

     

    Based on the formula that you mentioned, I think there is something wrong with it. I have made a test on my side, please consider take a try with the following workaround:

    Set the OnSelect property of the "Save" button to following:

    Clear(ImageCollection);;
    ForAll(
     Gallery2_2.AllItems;
     Collect(
     ImageCollection;
     {
     FileName: textref_2.Text & CountRows(ImageCollection) + 1 & ".jpg";
     FileContent: new_picture_1.Image // I assume that the new_picture_1 represents the Image control in your Gallery
     }
     )
    );;
    ForAll(
     ImageCollection;
     StockageBlobAzure.CreateFile("path/test"; FileName; FileContent)
    )

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard