Select to view content in your preferred language

Can I edit MobileWeb apps once created?

2895
2
12-08-2011 01:46 PM
JessB
by
Emerging Contributor
Hello,

I followed the below link to store a mobile map definition on our local ArcGIS Server instead of in ArcGIS Online:

http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/AppGuide/Maps.pdf

After importing I wanted to make a slight change (visibility of one of the layers to false) so found the JSON definition here:

C:\inetpub\wwwroot\ArcGIS\Mobile\ItemsRoot\c9cb0745276e4c35b082eb4acf7ab6b2\MyCoolMap

Is it ok to edit this JSON? If not is there any way to change a map once it's 'added' to the MobileWeb folder?

Thanks!

Jess
0 Kudos
2 Replies
GordonSumerling
Esri Regular Contributor
Jess,

That is the correct location to edit the JSON. Just be careful when you are editing this file that your syntax is correct. I alway run mine through http://www.jslint.org just to make sure.

cheers
Gordon
0 Kudos
JessB
by
Emerging Contributor
Ok ... thanks.

I didn't know if the import of the JSON did some voodoo and thus editing that file wasn't really allowed. I bumped up on this ...

http://forums.arcgis.com/threads/45341-Local-MapServices-not-displaying-in-ArcGIS-for-iOS-after-VPN-...

... and didn't know if my JSON meddling might have been the issue. All I did was change a true to false so don't think it was my edit.
JB
0 Kudos