SlideShare a Scribd company logo
Upload Files from PowerApps to SQL
Server
My cheat sheet for upload and display files in PowerApps
Peter Heffner
@Lingualizer
17 April 2019
Preliminary
notes
• First: I'm not an Azure Expert at all!
• This presentation is more like a cheat sheet if you have Microsoft Azure SQL Server as a database
and want to store files from within Microsoft PowerApps.
• For a Microsoft PowerApps project I created several tables on an Azure SQL Server.
• Documents and images are stored in an Azure Blob Storage Container
• Prerequisites:
• Azure SQL Server with tables of your choice
• Azure Blob Storage Container
Optional: Microsoft Azure Storage Explorer to understand where your files are uploaded to.
What you will find here
• An example of a very simple table “Projects”. Each project has an
unique ID.
• A blob storage container “projects”. This container will have folders
which are named as the IDs of the project ID. The folders are
created during upload.
• PowerApps with an upload functionality for files
• A Gallery with the uploaded files for each project
• PDF-viewer and image control to display the content
Azure SQL
Server Table
Azure Blob
Storage
Don‘t forget to define a key.
If not you won‘t be able to create
new records in PowerApps
This is where we want to store our
project files.
There will be folders underneath.
Folder names = Project.ID
Create a
Canvas App
In PowerApps the starting point was
[Create an app] – [Canvas] – [Start with your data]
Here I chose my SQL connector to automatically
build a standard app in Smartphone layout
Also add the
connector to the
Azure Blob Storage
Create some
Projects
First I created some projects.
Before we navigate from the
browse screen to the details
screen we store the project ID in a
global variable
Store the
project ID in a
global variable.
The
“Add Picture“
Control
On the detail screen we add next to
the Gallery the „Add picture“ control.
This is where we upload the files.
Show me the
details
This screen has some additional fields to see more details.
• ti_filename: a text input control which contains the filename of the selected file and the option to
rename it as a default value.
• lbl_ID_file: Concatenate the project ID (our folder name), add a „/“ and the filename
• lbl_blob: this is our file as a blob
All this fields can be hidden in the published app. It is just to show which content we use for the
upload.
File Upload
Next we add a button and add
some action to „OnSelect“
The Azue Blob Storage Container
Where is the
file?
If you open the Azure Blob Storage Explorer you will see a new folder (our project ID).
This is where we find the file.
Show Files
in a Gallery
Items = AzureBlobStorage.ListFolderV2(LookUp(
AzureBlobStorage.ListFolderV2("projects").value,
DisplayName=glb_ProjectID & "/", Id)).value
The command for retrieving the content of a folder is a bit tricky.
At first I expected something like „projects/1“ to look for my
files, but it is all about the Ids within the blob container
„projects“.
Finally I combined all my bits and pieces as one single command
for „Items“.
The screenshot on the right has the PDF viewer control.
If you also have images, add the image control and decide based
on the value of „ThisItem.Media.Type“ which to display.
Peter Heffner
@Lingualizer
Thanks for watching!
Thanks to Laura Rogers, Shane Young, Paul O‘Flaherty, and many more
for their inspiring videos and blog posts around Microsoft PowerApps.

More Related Content

What's hot

Power Platform Architecture Corrections
Power Platform Architecture CorrectionsPower Platform Architecture Corrections
Power Platform Architecture Corrections
Yusuke Ohira
 
FLiP Into Trino
FLiP Into TrinoFLiP Into Trino
FLiP Into Trino
Timothy Spann
 
Power Platform Governance
Power Platform GovernancePower Platform Governance
Power Platform Governance
Daniel Laskewitz
 
Introduction to Microsoft Flow & PowerApps
Introduction to Microsoft Flow & PowerAppsIntroduction to Microsoft Flow & PowerApps
Introduction to Microsoft Flow & PowerApps
JoAnna Cheshire
 
Clean Architecture Applications in Python
Clean Architecture Applications in PythonClean Architecture Applications in Python
Clean Architecture Applications in Python
Subhash Bhushan
 
Utilizing SharePoint for Project Management
Utilizing SharePoint for Project ManagementUtilizing SharePoint for Project Management
Utilizing SharePoint for Project Management
Gregory Zelfond
 
Introduction to power apps
Introduction to power appsIntroduction to power apps
Introduction to power apps
RezaDorrani1
 
Springboot Microservices
Springboot MicroservicesSpringboot Microservices
Springboot Microservices
NexThoughts Technologies
 
Limitations and Cost of Using Microsoft's Power Platform
Limitations and Cost of Using Microsoft's Power PlatformLimitations and Cost of Using Microsoft's Power Platform
Limitations and Cost of Using Microsoft's Power Platform
Scott Restivo
 
Jenkins.pdf
Jenkins.pdfJenkins.pdf
Power Automate
Power AutomatePower Automate
Power Automate
VijaySingh790398
 
Event Sourcing & CQRS, Kafka, Rabbit MQ
Event Sourcing & CQRS, Kafka, Rabbit MQEvent Sourcing & CQRS, Kafka, Rabbit MQ
Event Sourcing & CQRS, Kafka, Rabbit MQ
Araf Karsh Hamid
 
Extensible Data Modeling
Extensible Data ModelingExtensible Data Modeling
Extensible Data Modeling
Karwin Software Solutions LLC
 
Melbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power AutomateMelbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power Automate
Andre Margono
 
Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...
Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...
Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...
HostedbyConfluent
 
CI/CD with Github Actions
CI/CD with Github ActionsCI/CD with Github Actions
CI/CD with Github Actions
Md. Minhazul Haque
 
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB ArchitectureToronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Alexandra N. Martinez
 
Powerapps & Flow
Powerapps & FlowPowerapps & Flow
Powerapps & Flow
Xpand IT
 
Sharepoint Basics
Sharepoint BasicsSharepoint Basics
Sharepoint Basics
Shervin Thomas
 
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Daniel Oh
 

What's hot (20)

Power Platform Architecture Corrections
Power Platform Architecture CorrectionsPower Platform Architecture Corrections
Power Platform Architecture Corrections
 
FLiP Into Trino
FLiP Into TrinoFLiP Into Trino
FLiP Into Trino
 
Power Platform Governance
Power Platform GovernancePower Platform Governance
Power Platform Governance
 
Introduction to Microsoft Flow & PowerApps
Introduction to Microsoft Flow & PowerAppsIntroduction to Microsoft Flow & PowerApps
Introduction to Microsoft Flow & PowerApps
 
Clean Architecture Applications in Python
Clean Architecture Applications in PythonClean Architecture Applications in Python
Clean Architecture Applications in Python
 
Utilizing SharePoint for Project Management
Utilizing SharePoint for Project ManagementUtilizing SharePoint for Project Management
Utilizing SharePoint for Project Management
 
Introduction to power apps
Introduction to power appsIntroduction to power apps
Introduction to power apps
 
Springboot Microservices
Springboot MicroservicesSpringboot Microservices
Springboot Microservices
 
Limitations and Cost of Using Microsoft's Power Platform
Limitations and Cost of Using Microsoft's Power PlatformLimitations and Cost of Using Microsoft's Power Platform
Limitations and Cost of Using Microsoft's Power Platform
 
Jenkins.pdf
Jenkins.pdfJenkins.pdf
Jenkins.pdf
 
Power Automate
Power AutomatePower Automate
Power Automate
 
Event Sourcing & CQRS, Kafka, Rabbit MQ
Event Sourcing & CQRS, Kafka, Rabbit MQEvent Sourcing & CQRS, Kafka, Rabbit MQ
Event Sourcing & CQRS, Kafka, Rabbit MQ
 
Extensible Data Modeling
Extensible Data ModelingExtensible Data Modeling
Extensible Data Modeling
 
Melbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power AutomateMelbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power Automate
 
Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...
Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...
Automated Apache Kafka Mocking and Testing with AsyncAPI | Hugo Guerrero, Red...
 
CI/CD with Github Actions
CI/CD with Github ActionsCI/CD with Github Actions
CI/CD with Github Actions
 
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB ArchitectureToronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
 
Powerapps & Flow
Powerapps & FlowPowerapps & Flow
Powerapps & Flow
 
Sharepoint Basics
Sharepoint BasicsSharepoint Basics
Sharepoint Basics
 
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
 

Similar to PowerApps and Azure SQL Server / Blob storage

Spring Boot with Microsoft Azure Integration.pdf
Spring Boot with Microsoft Azure Integration.pdfSpring Boot with Microsoft Azure Integration.pdf
Spring Boot with Microsoft Azure Integration.pdf
Inexture Solutions
 
CC -Unit3.pptx
CC -Unit3.pptxCC -Unit3.pptx
CC -Unit3.pptx
Revathiparamanathan
 
Azure Data serices and databricks architecture
Azure Data serices and databricks architectureAzure Data serices and databricks architecture
Azure Data serices and databricks architecture
AdventureWorld5
 
slides.pptx
slides.pptxslides.pptx
slides.pptx
FahmiTounsiBakri
 
slides.pptx
slides.pptxslides.pptx
slides.pptx
MayankJain659
 
Using ActiveObjects in Atlassian Plugins
Using ActiveObjects in Atlassian PluginsUsing ActiveObjects in Atlassian Plugins
Using ActiveObjects in Atlassian Plugins
Atlassian
 
BackboneJS
BackboneJSBackboneJS
BackboneJS
Artemii Kravtsov
 
4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai
4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai
4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai
Luke Han
 
LEARNING  iPAD STORYBOARDS IN OBJ-­‐C LESSON 1
LEARNING	 iPAD STORYBOARDS IN OBJ-­‐C LESSON 1LEARNING	 iPAD STORYBOARDS IN OBJ-­‐C LESSON 1
LEARNING  iPAD STORYBOARDS IN OBJ-­‐C LESSON 1
Rich Helton
 
( 12 ) Office 2007 Features Custom List
( 12 ) Office 2007   Features   Custom List( 12 ) Office 2007   Features   Custom List
( 12 ) Office 2007 Features Custom List
LiquidHub
 
Lesson 8 - Move Approved Elements To Insite Asset Library
Lesson 8 - Move Approved Elements To Insite Asset LibraryLesson 8 - Move Approved Elements To Insite Asset Library
Lesson 8 - Move Approved Elements To Insite Asset Library
Informatica
 
Vc++
Vc++Vc++
XPages -Beyond the Basics
XPages -Beyond the BasicsXPages -Beyond the Basics
XPages -Beyond the Basics
Ulrich Krause
 
COMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptxCOMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptx
LECO9
 
COMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptxCOMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptx
SKUP1
 
AEM Asset and Tag API
AEM Asset and Tag APIAEM Asset and Tag API
AEM Asset and Tag API
Lokesh BS
 
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
buildacloud
 
Open writing-cloud-collab
Open writing-cloud-collabOpen writing-cloud-collab
Open writing-cloud-collab
Karen Vuong
 
[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics
Ulrich Krause
 
iOS Course day 2
iOS Course day 2iOS Course day 2
iOS Course day 2
Rich Allen
 

Similar to PowerApps and Azure SQL Server / Blob storage (20)

Spring Boot with Microsoft Azure Integration.pdf
Spring Boot with Microsoft Azure Integration.pdfSpring Boot with Microsoft Azure Integration.pdf
Spring Boot with Microsoft Azure Integration.pdf
 
CC -Unit3.pptx
CC -Unit3.pptxCC -Unit3.pptx
CC -Unit3.pptx
 
Azure Data serices and databricks architecture
Azure Data serices and databricks architectureAzure Data serices and databricks architecture
Azure Data serices and databricks architecture
 
slides.pptx
slides.pptxslides.pptx
slides.pptx
 
slides.pptx
slides.pptxslides.pptx
slides.pptx
 
Using ActiveObjects in Atlassian Plugins
Using ActiveObjects in Atlassian PluginsUsing ActiveObjects in Atlassian Plugins
Using ActiveObjects in Atlassian Plugins
 
BackboneJS
BackboneJSBackboneJS
BackboneJS
 
4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai
4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai
4.Building a Data Product using apache Zeppelin - Apache Kylin Meetup @Shanghai
 
LEARNING  iPAD STORYBOARDS IN OBJ-­‐C LESSON 1
LEARNING	 iPAD STORYBOARDS IN OBJ-­‐C LESSON 1LEARNING	 iPAD STORYBOARDS IN OBJ-­‐C LESSON 1
LEARNING  iPAD STORYBOARDS IN OBJ-­‐C LESSON 1
 
( 12 ) Office 2007 Features Custom List
( 12 ) Office 2007   Features   Custom List( 12 ) Office 2007   Features   Custom List
( 12 ) Office 2007 Features Custom List
 
Lesson 8 - Move Approved Elements To Insite Asset Library
Lesson 8 - Move Approved Elements To Insite Asset LibraryLesson 8 - Move Approved Elements To Insite Asset Library
Lesson 8 - Move Approved Elements To Insite Asset Library
 
Vc++
Vc++Vc++
Vc++
 
XPages -Beyond the Basics
XPages -Beyond the BasicsXPages -Beyond the Basics
XPages -Beyond the Basics
 
COMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptxCOMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptx
 
COMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptxCOMPILATION PROCESS IN C.pptx
COMPILATION PROCESS IN C.pptx
 
AEM Asset and Tag API
AEM Asset and Tag APIAEM Asset and Tag API
AEM Asset and Tag API
 
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
 
Open writing-cloud-collab
Open writing-cloud-collabOpen writing-cloud-collab
Open writing-cloud-collab
 
[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics
 
iOS Course day 2
iOS Course day 2iOS Course day 2
iOS Course day 2
 

More from Peter Heffner

Hey Siri, open my PowerApp
Hey Siri, open my PowerAppHey Siri, open my PowerApp
Hey Siri, open my PowerApp
Peter Heffner
 
Multilingual Power Apps
Multilingual Power AppsMultilingual Power Apps
Multilingual Power Apps
Peter Heffner
 
Power Apps and Office365 Groups
Power Apps and Office365 GroupsPower Apps and Office365 Groups
Power Apps and Office365 Groups
Peter Heffner
 
Power Apps and Microsoft Teams
Power Apps and Microsoft TeamsPower Apps and Microsoft Teams
Power Apps and Microsoft Teams
Peter Heffner
 
PowerApps - Canvas Screen with Tabs
PowerApps - Canvas Screen with TabsPowerApps - Canvas Screen with Tabs
PowerApps - Canvas Screen with Tabs
Peter Heffner
 
PowerApps - Using your own Colour Set
PowerApps - Using your own Colour SetPowerApps - Using your own Colour Set
PowerApps - Using your own Colour Set
Peter Heffner
 
Import excel rows to sharepoint list
Import excel rows to sharepoint listImport excel rows to sharepoint list
Import excel rows to sharepoint list
Peter Heffner
 
Multilingual power apps
Multilingual power appsMultilingual power apps
Multilingual power apps
Peter Heffner
 
Office Lens #68: Screenshots mit Office Lens
Office Lens #68: Screenshots mit Office LensOffice Lens #68: Screenshots mit Office Lens
Office Lens #68: Screenshots mit Office Lens
Peter Heffner
 
PowerApp #69 Create a PowerApp
PowerApp #69 Create a PowerAppPowerApp #69 Create a PowerApp
PowerApp #69 Create a PowerApp
Peter Heffner
 
SharePoint Lesson #67: Connect List Data and Visio
SharePoint Lesson #67: Connect List Data and VisioSharePoint Lesson #67: Connect List Data and Visio
SharePoint Lesson #67: Connect List Data and Visio
Peter Heffner
 
SharePoint Lesson #66: Live Data - List Items in PowerPoint
SharePoint Lesson #66: Live Data - List Items in PowerPointSharePoint Lesson #66: Live Data - List Items in PowerPoint
SharePoint Lesson #66: Live Data - List Items in PowerPoint
Peter Heffner
 
SharePoint Lesson #65: Content Organizer in SP2013
SharePoint Lesson #65: Content Organizer in SP2013SharePoint Lesson #65: Content Organizer in SP2013
SharePoint Lesson #65: Content Organizer in SP2013
Peter Heffner
 
SharePoint Lesson #64. Sort-of-Gantt
SharePoint  Lesson #64. Sort-of-GanttSharePoint  Lesson #64. Sort-of-Gantt
SharePoint Lesson #64. Sort-of-Gantt
Peter Heffner
 
SharePointLesson #63: vCard for Outlook
SharePointLesson #63: vCard for OutlookSharePointLesson #63: vCard for Outlook
SharePointLesson #63: vCard for Outlook
Peter Heffner
 
SharePoint Lesson #62: Progress Bar in SP2013
SharePoint Lesson #62: Progress Bar in SP2013SharePoint Lesson #62: Progress Bar in SP2013
SharePoint Lesson #62: Progress Bar in SP2013
Peter Heffner
 
SharePoint Lesson #61: Embed non-MS Content in SP2013
SharePoint Lesson #61: Embed non-MS Content in SP2013SharePoint Lesson #61: Embed non-MS Content in SP2013
SharePoint Lesson #61: Embed non-MS Content in SP2013
Peter Heffner
 
SharePoint Tutorial Lesson 60#: Embed Microsoft Content
SharePoint Tutorial Lesson 60#: Embed Microsoft ContentSharePoint Tutorial Lesson 60#: Embed Microsoft Content
SharePoint Tutorial Lesson 60#: Embed Microsoft Content
Peter Heffner
 
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
SharePoint Lektion #52. Kurzanleitung - Webseiten und InhalteSharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
Peter Heffner
 
SharePoint Lesson #59: Filtered Lookup
SharePoint Lesson #59: Filtered LookupSharePoint Lesson #59: Filtered Lookup
SharePoint Lesson #59: Filtered Lookup
Peter Heffner
 

More from Peter Heffner (20)

Hey Siri, open my PowerApp
Hey Siri, open my PowerAppHey Siri, open my PowerApp
Hey Siri, open my PowerApp
 
Multilingual Power Apps
Multilingual Power AppsMultilingual Power Apps
Multilingual Power Apps
 
Power Apps and Office365 Groups
Power Apps and Office365 GroupsPower Apps and Office365 Groups
Power Apps and Office365 Groups
 
Power Apps and Microsoft Teams
Power Apps and Microsoft TeamsPower Apps and Microsoft Teams
Power Apps and Microsoft Teams
 
PowerApps - Canvas Screen with Tabs
PowerApps - Canvas Screen with TabsPowerApps - Canvas Screen with Tabs
PowerApps - Canvas Screen with Tabs
 
PowerApps - Using your own Colour Set
PowerApps - Using your own Colour SetPowerApps - Using your own Colour Set
PowerApps - Using your own Colour Set
 
Import excel rows to sharepoint list
Import excel rows to sharepoint listImport excel rows to sharepoint list
Import excel rows to sharepoint list
 
Multilingual power apps
Multilingual power appsMultilingual power apps
Multilingual power apps
 
Office Lens #68: Screenshots mit Office Lens
Office Lens #68: Screenshots mit Office LensOffice Lens #68: Screenshots mit Office Lens
Office Lens #68: Screenshots mit Office Lens
 
PowerApp #69 Create a PowerApp
PowerApp #69 Create a PowerAppPowerApp #69 Create a PowerApp
PowerApp #69 Create a PowerApp
 
SharePoint Lesson #67: Connect List Data and Visio
SharePoint Lesson #67: Connect List Data and VisioSharePoint Lesson #67: Connect List Data and Visio
SharePoint Lesson #67: Connect List Data and Visio
 
SharePoint Lesson #66: Live Data - List Items in PowerPoint
SharePoint Lesson #66: Live Data - List Items in PowerPointSharePoint Lesson #66: Live Data - List Items in PowerPoint
SharePoint Lesson #66: Live Data - List Items in PowerPoint
 
SharePoint Lesson #65: Content Organizer in SP2013
SharePoint Lesson #65: Content Organizer in SP2013SharePoint Lesson #65: Content Organizer in SP2013
SharePoint Lesson #65: Content Organizer in SP2013
 
SharePoint Lesson #64. Sort-of-Gantt
SharePoint  Lesson #64. Sort-of-GanttSharePoint  Lesson #64. Sort-of-Gantt
SharePoint Lesson #64. Sort-of-Gantt
 
SharePointLesson #63: vCard for Outlook
SharePointLesson #63: vCard for OutlookSharePointLesson #63: vCard for Outlook
SharePointLesson #63: vCard for Outlook
 
SharePoint Lesson #62: Progress Bar in SP2013
SharePoint Lesson #62: Progress Bar in SP2013SharePoint Lesson #62: Progress Bar in SP2013
SharePoint Lesson #62: Progress Bar in SP2013
 
SharePoint Lesson #61: Embed non-MS Content in SP2013
SharePoint Lesson #61: Embed non-MS Content in SP2013SharePoint Lesson #61: Embed non-MS Content in SP2013
SharePoint Lesson #61: Embed non-MS Content in SP2013
 
SharePoint Tutorial Lesson 60#: Embed Microsoft Content
SharePoint Tutorial Lesson 60#: Embed Microsoft ContentSharePoint Tutorial Lesson 60#: Embed Microsoft Content
SharePoint Tutorial Lesson 60#: Embed Microsoft Content
 
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
SharePoint Lektion #52. Kurzanleitung - Webseiten und InhalteSharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
 
SharePoint Lesson #59: Filtered Lookup
SharePoint Lesson #59: Filtered LookupSharePoint Lesson #59: Filtered Lookup
SharePoint Lesson #59: Filtered Lookup
 

Recently uploaded

How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 

Recently uploaded (20)

How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 

PowerApps and Azure SQL Server / Blob storage

  • 1. Upload Files from PowerApps to SQL Server My cheat sheet for upload and display files in PowerApps Peter Heffner @Lingualizer 17 April 2019
  • 2. Preliminary notes • First: I'm not an Azure Expert at all! • This presentation is more like a cheat sheet if you have Microsoft Azure SQL Server as a database and want to store files from within Microsoft PowerApps. • For a Microsoft PowerApps project I created several tables on an Azure SQL Server. • Documents and images are stored in an Azure Blob Storage Container • Prerequisites: • Azure SQL Server with tables of your choice • Azure Blob Storage Container Optional: Microsoft Azure Storage Explorer to understand where your files are uploaded to. What you will find here • An example of a very simple table “Projects”. Each project has an unique ID. • A blob storage container “projects”. This container will have folders which are named as the IDs of the project ID. The folders are created during upload. • PowerApps with an upload functionality for files • A Gallery with the uploaded files for each project • PDF-viewer and image control to display the content
  • 3. Azure SQL Server Table Azure Blob Storage Don‘t forget to define a key. If not you won‘t be able to create new records in PowerApps This is where we want to store our project files. There will be folders underneath. Folder names = Project.ID
  • 4. Create a Canvas App In PowerApps the starting point was [Create an app] – [Canvas] – [Start with your data] Here I chose my SQL connector to automatically build a standard app in Smartphone layout Also add the connector to the Azure Blob Storage
  • 5. Create some Projects First I created some projects. Before we navigate from the browse screen to the details screen we store the project ID in a global variable Store the project ID in a global variable.
  • 6. The “Add Picture“ Control On the detail screen we add next to the Gallery the „Add picture“ control. This is where we upload the files.
  • 7. Show me the details This screen has some additional fields to see more details. • ti_filename: a text input control which contains the filename of the selected file and the option to rename it as a default value. • lbl_ID_file: Concatenate the project ID (our folder name), add a „/“ and the filename • lbl_blob: this is our file as a blob All this fields can be hidden in the published app. It is just to show which content we use for the upload.
  • 8. File Upload Next we add a button and add some action to „OnSelect“ The Azue Blob Storage Container
  • 9. Where is the file? If you open the Azure Blob Storage Explorer you will see a new folder (our project ID). This is where we find the file.
  • 10. Show Files in a Gallery Items = AzureBlobStorage.ListFolderV2(LookUp( AzureBlobStorage.ListFolderV2("projects").value, DisplayName=glb_ProjectID & "/", Id)).value The command for retrieving the content of a folder is a bit tricky. At first I expected something like „projects/1“ to look for my files, but it is all about the Ids within the blob container „projects“. Finally I combined all my bits and pieces as one single command for „Items“. The screenshot on the right has the PDF viewer control. If you also have images, add the image control and decide based on the value of „ThisItem.Media.Type“ which to display.
  • 11. Peter Heffner @Lingualizer Thanks for watching! Thanks to Laura Rogers, Shane Young, Paul O‘Flaherty, and many more for their inspiring videos and blog posts around Microsoft PowerApps.