Newsletter
Join our blog
Join other Azure, Power Platform and SQL Server pros by subscribing to our blog.
Start with the FREE community plan and get your lifetime access to 20+ courses. Get Instant Access Now!
Need help? Talk to an expert: (904) 638-5743
Private Training
Customized training to master new skills and grow your business.
On-Demand Learning
Beginner to advanced classes taught by Microsoft MVPs and Authors.
Bootcamps
In-depth boot camps take you from a novice to mastery in less than a week.
Season Learning Pass
Get access to our very best training offerings for successful up-skilling.
Stream Pro Plus
Combine On-Demand Learning platform with face-to-face Virtual Mentoring.
Certification Training
Prepare and ace your next certification with CertXP.
Private Training
Cheat Sheets
Quick references for when you need a little guidance.
Nerd Guides
Summaries developed in conjunction with our Learn with the Nerds sessions.
Downloads
Digital goodies - code samples, student files, and other must have files.
Blog
Stay up-to-date on all things Power BI, Power Apps, Microsoft 365 and Azure.
Community Discord Server
Start here for technology questions to get answers from the community.
Career Guides
Breaking into the field? Let these guides help get you started with a plan.
Affiliate Program
Earn money by driving sales through the Pragmatic Works' Training Affiliate Program.
Reseller Partner
It's time to address your client's training needs.
Foundation
Learn how to get into IT with free training and mentorship.
Management Team
Discover the faces behind our success: Meet our dedicated team
Contact Us
How can we help? Connect with Our Team Today!
FAQs
Find all the information you’re looking for. We’re happy to help.
What do you know about using about using Azure Blob Storage in PowerApps? As you know, Azure Blob Storage is a cost-effective way to store unstructured data such as images, videos, documents, and possibly even backups. By storing data here, Azure Blob Storage will serve as a backend connector for your PowerApps.
Today I’d like to share with you a few tips and suggestions on how to easily migrate your data from Azure Blob Storage to PowerApps.
1. This is not a premium connector so you will not need any special licensing. You will need to know your Azure Storage account name and key for that storage account. Make this a data source in PowerApps and use a set function to globalize the variable inside the app.
2. Give the variable a name, I named my variable sentBlob. Once everything is added you will want to start using the blob storage functions.
3. Use code AzureBlobStorage.CreateFile; this will allow you to create a Blob in your Blob Storage. The first parameter it will ask for is the folder name, as well as the folder path if you have some nested folders.
4. The second parameter for this function is the name. You can use functions inside this parameter like CreateFile; you can use today’s date as the selected text value or that selection text value can be some sort of type and the person’s full name. If you are reporting for an expense app, where you may be storing something like pictures for an expense app, this is a good place to utilize this function. Once you get all this info in, this will be the blob’s name.
5. For the third parameter use the image set function, this will create a select property of the button (like a camera control or a file/select control). We can use this set function and something like an action inside the app, such as the unselect property of a button. What this does is when this button is selected it will set this variable but will also send this blog even though all we’re doing is setting a variable.
So, once that variable is set, all we must do is put that variable name and dot ID (.ID) and we can get that ID of the blob we just sent. Again, this can be used if you’re building an expense app like I previously mentioned. Then we can call back this blob using the ID and a picture control to show a picture for an expense.
This is a powerful way to send pictures and also to use them in your app. I hope you this helpful when using Azure Blob Storage within PowerApps. If you have questions or need help with these or any Azure product or service, click the link below or contact us. We’re here to help you take advantage of Azure and use your data to grow your business.
Free Trial
private training
Newsletter
Join other Azure, Power Platform and SQL Server pros by subscribing to our blog.
Leave a comment