How do I check if a URL pointing to a PDF (in a File column) actually returns the PDF?

I’m working on an app that links a “unit” to a PDF document if said document exists. This is done with a “File” column and then a predetermined URL in the app formula. However, I need to be able to check whether a PDF is actually returned or whether the link points to nothing since the PDF might not exist when the unit is created in the app, and the choices a user can make depends on whether the PDF exists or not.
I’m assuming a simple ISBLANK() won’t do it, because I’m using an app formula, so the column is technically never blank even though a PDF isn’t retrieved.

Thanks in advance!

Solved Solved
0 8 2,565
1 ACCEPTED SOLUTION

Firstly appsheet will check the files beyond the URL “when the url is clicked”. If no files exist, error is returned.

Without users interaction, i.e. clicking the url by user, Appsheet has no way to check if the URL is valid or not.

View solution in original post

8 REPLIES 8
Top Labels in this Space