cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yves2218
Regular Visitor

How to check if URL is status 404 / 400 as doesn't exist in PowerApps when using in image tool?

I know there's an "IsEmpty / IsBlank" function but seems not working as I expected. My setup is to load image into data card image by reading URL off a sharepoint list. Seems no matter the URL exists or not (404 or not), the image tool kit will load "image" anyway, if not exist (404), it'll just put a blank image there the same size as the tool kit. My goal is not to display the data card that contains  image tool kit at all if the URL doesn't exist (404).

 

I know I can simply not to put an URL in the sharepoint list if the URL does not exist (and use IsBlank to check the value), but it's easier for me to have the URLs prefilled instead of figuring out which will work and which not. So it'll be helpful if there's a way to check if the URL load an actual image of not.

 

Thank you,

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,046)