cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mirocco
New Member

Dynamically load videos from SharePoint Library into PowerApps

Dear community,

 

I am building an app that should display media resources (images and videos) from a SharePoint Library. There is only one picture / video shown at a time and should dynamically change based on user input.

with the proposal of @v-xida-msft in this topic:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Picture-from-SharePoint-List-NOT-showing-in-...

I could implement the function for images sucessfully:

 

Image property of Image control:
LookUp(SPLibrary,'File name with extension'=LookUp(SPList,ItemNumber=CurrentItem,FileName)).'{Thumbnail}'.Large

with:
- SPLibrary being the SharePoint library containing the image files (e.g. picture1.jpg)
- SPList being the SharePoint list with a column of type Single line of text called "FileName". The entries in this column match the file names in the library (e.g. picture1.jpg)
- CurrentItem being a global variable that is indicating the currently active column (=image) of the SharePoint list. This variable is changed on user input.

As this solution works fine with images, I could not get it working with video files. 
Can you give me some advice how to archive this?

 

0 REPLIES 0

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (52,669)