Hexagon Geospatial
MENU

M.App Enterprise

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 
Reply
Contributor
Posts: 21
Registered: ‎05-11-2018

Prevent Image download to the mobile device

Hi,

 

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.

 

Thanks

Ciaran

Highlighted
Staff
Posts: 22
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. 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.