cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NicoleChina
Level: Powered On

How PowerApps know if there is some file in the SharePoint?

Hi,

   I have some files in the SharePoint, like this:

  FilesExample

  ID name        created by

  1  FileA          nicole

  2  filea.zip     john

  4  fileb.txt     felix

And I want the lable on the PowerApps to show me if the file exists, like this:

ID:1      name:  FileA             labletext: File exits.

ID:3      name: filec.zip          labletext: Missing file.

ID:2      name:filea.zip           labletext: File exits.

 Can PowerApps just show whether there is a file exists? How to do that?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How PowerApps know if there is some file in the SharePoint?

You would have to do a LookUp function to check for each file. If the lookup is blank you know the file doesn't exist. So then your label would be an If that shows file exists or missing based on the result.

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

View solution in original post

1 REPLY 1
Super User
Super User

Re: How PowerApps know if there is some file in the SharePoint?

You would have to do a LookUp function to check for each file. If the lookup is blank you know the file doesn't exist. So then your label would be an If that shows file exists or missing based on the result.

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,658)