M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Posts: 27
Registered: ‎05-11-2018

Prevent Image download to the mobile device



Using the mobile app for Street Surveying we have found that if we clear the local data when launching the app that all images are trying to download to the device. The time taken to do this is continiously growning.


We can of course not wipe the local data which prevents this but when we do an update to the mobile form we have to clear local data.


Is there a way to prevent download sync of images when we clear local data?


It has got to a stage now where if we clear local data some users will experience a timeout error because sync is taking too long.




Posts: 36
Registered: ‎07-16-2019

Re: Prevent Image download to the mobile device

Hi ckinane please try to use lazy loading for the images. In the How to setup a Mobile App - Part 2 tutorial there is an example on how to set a lazy loading field for the full size image and a "normal" sync for the thumbnailed images


In your shell use:


<Field Name="image" Type="Binary" LazyLoading="True"/>


Please consider that it will only work if you are using an "online" data source, if you are forcing a complete sync to get full offline capabilities you’ll do need all the files saved to your device.