Hi there!
I have managed to follow Shaun Young's great tutorial to create a gallery that stores and displays photos using Azure blob storage.
However, I don't want to show every photo in the collection - just the photos relating to the particular job number reference.
This is the OnSelect for the button to save the photos (using the AddPicture control):
AzureBlobStorage.CreateFile("powerappsphotos",Concatenate(DataCardValue2.Text,TextInput4_1.Text),AddMediaButton1_1)
This enables the photo filename to begin with the relevant job number (ie. DataCardValue2.Text). All good so far.
I have created another screen with the photo gallery itself, and it displays photos from the blob storage correctly
Screen 2: OnVisible: ClearCollect(CollectFiles,AzureBlobStorage.ListFolderV2("JTJmcG93ZXJhcHBzcGhvdG9z").value
But it displays all the photos in that blob storage container.
How can I make the gallery display only photos with filename that begins with the DataCardValue2.Text?
Perhaps I am going about this the wrong way - and I should be creating a new collection instance each time, that refers to the DataCardValue2.Text?
Either way, this is beyond my capabilities, so hoping you can help or send me in the right direction.
Many thanks in advance.