Goal: Use a tile package as an offline basemap. (Tile package is already loaded to Survey123 on iPad 2)
Tried: Adding the following snippet to INFO file
Problem: INFO file resets to default whenever I try publishing the survey. I don't think the "append": true parameter is being published along with the survey.
Question: Is this an issue with Beta, or have I missed a step?*
*Note: I see there is a pending app update set for release next week (01/18/16) and will plan to see if anything changes.
This forum is for the utility configurations, for general help, I would suggest posting in Survey123 for ArcGIS
That was my intention when I initially posted the message. I asked a question directly from the Survey123 for ArcGIS page, but when I clicked "In a place," the only option was "Utility Survey 123 Configurations."
I just tried moving the discussion, and this is as close as I get:
Any other advice?
Hi Craig,
We are currently testing the workflow mentioned in this blog:Prepare basemaps for offline use to make sure that everything is working as expected. We'll get in touch soon.
Thanks,
Fasil T.
Esri Support
Hi Craig,
Be sure to check that your JSON is valid by passing your code through an online JSON validator.
This happens to me all the time - I have forgotten a comma or a closing bracket and after publishing the survey to ArcGIS Online, the file will have removed the bad JSON.
Let me know if this helps,
Hannah
Craig,
Thanks Hannah for the tip. I used http://jsonlint.com/ to validate the code snippet, and found out that there was an issue. Remove the coma after the second URL string as follows and everything should work fine as expected.
{
"displayInfo": {
"map": {
"mapTypes": {
"append": false,
"includeLibrary": false,
"mapSources": [{
"url": "http://www.arcgis.com/home/item.html?id=221a6aab56804a988a94ec9f82a063e7",
"storeInMapLibrary": false
}, {
"url": "http://www.arcgis.com/home/item.html?id=4497b7bb42e543b691027840d1b9092a"
}]
}
}
}
}
I hope it helps!
Fasil
Esri Support
Craig,
Just FYI...If you already have the Tile Package loaded on the device for offline use, you don't have to make any changes on the .info file. Just publish your survey > download the survey on your device > click Collect > click on the map section > click on the menu on the top right corner > and select your tile package.
If you are offline, you will not see the default ArcGIS Online basemaps.
Thanks,
Fasil T.
Esri Support
Thanks Fasil.. and thanks Hannah.
Regarding the .info file, I tried this again and achieved different results, though still not what I expected.
I tried deleting everything that exists in the .info file, and pasted the snippet you posted. When I republished the survey, the .info file was modified again, and it now only has the following code:
{
"serviceInfo": {
"itemId": "4add4aaee47847508b3795228529ebfd",
"type": "Feature Service",
}
}
Regarding the map types menu, how do I access that menu? I'm using an iPad, and I haven't been able to find anything like it. This is all I see..
I'm using an iPad 2, version 9.0.2. I'm signed into the Survey123 app as the same user that published the survey. I haven't seen an update for the app since January 5th- has any been released since then?
Craig,
I'm not sure if you saw my other response above. If you already have the Tile Package loaded on the device for offline use, you don't have to make any changes on the .info file. Just publish your survey > download the survey on your device > click Collect > click on the map section > click on the menu on the top right corner > and select your tile package.
Please follow the steps mentioned this blog (Prepare basemaps for offline use ) to copy your tile package to the device.
Fasil
Fasil,
Yes, I saw your above response. I don't see any map section I can't click on.
If you're referring to this, I can't get it to do anything..