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
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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,598)