Offline basemap copied to device not available when viewing Existing Data in Sent Folder

1780
4
Jump to solution
08-10-2021 01:42 PM
KyleOberg
New Contributor III

The offline basemap (.vtpk) copied to Android device and referenced in the Map Library (tried both SD card and default Android directory following instructions here) does not display when viewing existing survey records from the Sent Folder. When connected, data in Sent Folder can be viewed  on a map by choosing a basemap from the basemap selector as expected.

The same offline basemap copied to the device is available when collecting data offline in the field and working as expected. Is it possible to view existing survey data from the Sent Folder on the basemap copied to the device? If so, how or where is this configured?

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Hi @KyleOberg ,

I had a look at your VTPK and loaded it to a few of my test devices, as well as publishing your survey XLSForm and everything appears to be working as expected. The basemap used in the geopoint question and the Map tab of the survey folders is controlled by the default set in Connect when you publish the survey.

If I set the VTPK as the default basemap in the Map settings in Connect, and then publish the survey, when I open the survey on Windows, Android or iOS, that VTPK is set as default in the geopoint question. Once I collect some surveys and save them to different folders such as Drafts, Sent, Inbox, Outbox, when I go to the Map tab in that folder, I see the VTPK load as soon as switch to the Map tab, and it is selected by default and displays with the surveys that are in that folder. If I then open the basemap chooser in that folder, I can see the default selected basemap is the VTPK, and I can also switch to other basemaps loaded on the device or that are available online.

This works with both the device online and offline when the VTPK set as default basemap. One thing to note is that the user selected basemap for geopoints and the Map tab in folders is persisted for each question and each survey. So if you had a different default basemap previously set, or the user has changed the basemap from the default to another basemap, the next time they open that survey or go into one of the Map tab folders, the basemap they used last time will be remembered. To clear this user selection, you need to delete the survey on the device, and download it again, to apply all default settings to that survey.

Can you confirm if you follow these steps and have set the default basemap as the VTPK, are you still seeing any issues?

connect_map_setting_basemap.jpg

Screenshot_20210831-131217_Survey123.jpg

Let me know if I have missed something.

Regards,

Phil.

View solution in original post

0 Kudos
4 Replies
by Anonymous User
Not applicable

Hi @KyleOberg,

The Sent box should work the same as Inbox or new Collect, in terms of displaying the geopoint and associated basemap. There is no difference when offline and what basemap bacn be used, offline maps are supported in all the boxes the same.

Where is the vtpk copied to the device, on Android, which folder have you tried on both the SD card and internal storage? It must be one of the following locations:

Android/data/com.esri.survey123/files/ArcGIS/My Surveys/Maps

SD CARD/Android/data/com.esri.survey123/files

If that still doesn't work, can you share your survey XLSForm (xlsx file and media files) and also the vtpk file? I would like to test and see if can reproduce the issue with you survey and offline map package

Regards,

Phil.

0 Kudos
KyleOberg
New Contributor III

Phil - Here are some quick screen captures (attached) from Survey 123 showing directories configured for both default and card directories in Map Library as well as basemap working offline to collect data but not displaying from "box" directories. VTPK is stored on card (460 MB) and displays as expected when collecting offline. However, same basemap does not display when attempting to view data from Outbox or Sent box (enabled in Connect) and indicated in .info file.

XLS form attached. VKPK is too large - how can I best share with you?

Many thanks!

0 Kudos
by Anonymous User
Not applicable

Hi @KyleOberg,

Thanks for sharing the screenshots and XLSForm. I have sent you a private message with me email details, if you can please send a link to download/share the vtpk file, and then I will download and test it out.

Regards,

Phil.

0 Kudos
by Anonymous User
Not applicable

Hi @KyleOberg ,

I had a look at your VTPK and loaded it to a few of my test devices, as well as publishing your survey XLSForm and everything appears to be working as expected. The basemap used in the geopoint question and the Map tab of the survey folders is controlled by the default set in Connect when you publish the survey.

If I set the VTPK as the default basemap in the Map settings in Connect, and then publish the survey, when I open the survey on Windows, Android or iOS, that VTPK is set as default in the geopoint question. Once I collect some surveys and save them to different folders such as Drafts, Sent, Inbox, Outbox, when I go to the Map tab in that folder, I see the VTPK load as soon as switch to the Map tab, and it is selected by default and displays with the surveys that are in that folder. If I then open the basemap chooser in that folder, I can see the default selected basemap is the VTPK, and I can also switch to other basemaps loaded on the device or that are available online.

This works with both the device online and offline when the VTPK set as default basemap. One thing to note is that the user selected basemap for geopoints and the Map tab in folders is persisted for each question and each survey. So if you had a different default basemap previously set, or the user has changed the basemap from the default to another basemap, the next time they open that survey or go into one of the Map tab folders, the basemap they used last time will be remembered. To clear this user selection, you need to delete the survey on the device, and download it again, to apply all default settings to that survey.

Can you confirm if you follow these steps and have set the default basemap as the VTPK, are you still seeing any issues?

connect_map_setting_basemap.jpg

Screenshot_20210831-131217_Survey123.jpg

Let me know if I have missed something.

Regards,

Phil.

0 Kudos