Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82391

Community Commons: storeURLToFileDocument, check if URL exists

$
0
0

I'm using storeURLToFileDocument to retrieve a avatar from a public website. The URL of the avatar is based on a memberid. Some members don't have a avatar and thus the URL will give a File Doesn't Exist error in the browser.

storeURLToFileDocument also gives an error. Is there a way to check if the URL exists? So I can add this before I do the storeURLToFileDocument action?

-------------------

com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.io.FileNotFoundException: http://www......nl/beheer/files/crossfit-limes/member/14-profile.jpg
    at CFL_Beheer.AfterStartUp_CFL_Beheer.nested.502b679f-4969-48e1-b8fe-aea078b3666b [8 of 491] (JavaAction : 'storeURLToFileDocument')
    at CFL_Beheer.AfterStartUp_CFL_Beheer (NestedLoopedMicroflow : '')
    at AppCloudServices.StartAppCloudServices (SubMicroflow : 'AfterStartUp_CFL_Beheer')


Viewing all articles
Browse latest Browse all 82391

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>