Identify Feature - ESRI ArcGIS APP Update

6289
30
08-10-2011 01:45 PM
JanineLatham
New Contributor II
When i updated the ESRI ArcGIS App on my Ipad and iphone the ability to identify on a feature has gone away. IS there a new setting or configuration int he JSON or Rest Page that needs to be done. I need help to remedy this.
0 Kudos
30 Replies
RussRoberts
Esri Notable Contributor
You will need to update the JSON to obtain the identify ability within the app. The app currently reads the 1.3 webmap spec. If your map is on ArcGIS Online you will need to update your webmap and enable popups. If your webmap resides on your mobile content server you will have to add popup info into your JSON to be able to identify features.
Hope this helps.
Russ
0 Kudos
DeyaniraMartinez_Lucero
New Contributor II
Hi, I hope than you can help me. I updated the ESRI ArcGIS yesterday in a IPAD, and now I can not identify features of my mao. WHY???? What can I do?? whith the old version I can identify without problems, but now not.
0 Kudos
RussRoberts
Esri Notable Contributor
The reason why you cannot identify certain features the maps you used on the 1.5-1.8.5 app is because the webmap spec that arcgis.com and explorer has changed. The older apps were configured to read the webmap JSON from a 1.1 webmap. Now with the new webmap spec 1.3 both the webmap clients and the app require popup infos to be defined to be able to identify features. If you open your webmap that is currently defined by the 1.1 webmap spec and enable popups for your map services and feature services you will be able to identify your features. The defining of popups allows you to also configure images and charts to further enhance the message of your data.If you have webmaps on your mobile content server you will have to write the popup info into the JSON for that webmap.


Here are some sample maps you can check out that I have created to demo the popup functionality
http://www.arcgis.com/home/item.html?id=c7a5d752a2eb43fd9fe333432878764f

On the app type Diners in the search section on find maps and you will see Russ's DDD map popup. Tap on the feature and you will see the new popups and then tap on the media and it will enlarge the photo and if you tap on that photo it will open up the internal browser to a webpage which has been hyper-linked to that photo.


Here is a webmap made in explorer with a demo of configured charts
http://explorer.arcgis.com/?open=aed6555f7bd7444ab539f132e7b7a8e7
On the app search
mobileios. Median household income will be one of the first results.



Hope this helps you out. Write back if you have any further questions.
Russ
0 Kudos
DeyaniraMartinez_Lucero
New Contributor II
Thank so much RussRobert, but I don't know what should do???
I must install something in my server (We have in this server ArcGIS Server for Java).
How do I update the version of the JSON on my server?
How do I configure the pop-ups Windows on my IPAD?
Excuse me, but I'm new at this. hopefully you can explain step by step I should do to identify the elements with the iPad.
Thank so much for you time.
0 Kudos
RussRoberts
Esri Notable Contributor
Not a problem.
Here are some answers to your questions above


I must install something in my server (We have in this server ArcGIS Server for Java).

No you do not need to install anything new onto your server. Popups are defined within the JSON of the webmap. These popups can be defined through arcgis.com and explorer.arcgis.com or you can write them into the webmap you have hosted on your own personal mobile content server(sample.arcgis.com/arcgis/mobile).

How do I update the version of the JSON on my server?

You can update the webmap in 2 ways.
1. If you are using arcgis.com or explorer.arcgis.com you can simply enable popups by clicking on the layer and saving that webmap.

2. Write the popups into your mobile content server webmap. This can take a bit more work and currently we are working on a doc to further explain the popup definition. I will post an update on the forum when this doc has been completed and hosted up on the resource center.

How do I configure the pop-ups Windows on my IPAD?

You cannot do any configuration of the popups on your iPad within the app. Popup configuration is limited to the authoring clients arcgis.com, explorer.arcgis.com and mobile content server(sample.arcgis.com/arcgis/mobile).


I have attached a quick mock up doc/image showing the quick steps to enabling popups on arcgis.com and explorer.arcgis.com.

Cheers
Russ
0 Kudos
DeyaniraMartinez_Lucero
New Contributor II
Thank very much Roos , your help is good for me :).
We (my coworkers and I) don't use proyects in arcgis.com neither arcgisexplorer only we use the free application "ArcGIs" for IPads, IPods and IPHONE, then,
the only way for us is to define this popups within the JSON of the map, rigth?.And I can do it in mobile content server webmap, namely here (image attachment):

Greetings!!!
0 Kudos
RussRoberts
Esri Notable Contributor
Hey dlucero76,
You dont define the popups within your actual service. You will be defining your popups within your mobile content server.  it will be your server name i.e

http://<server-name>/<arcgis-instance>/mobile/content

This link will take you to a doc that will explain how to start creating a webmap. This doc currently talks about writing JSON for an old webmap spec and we are currently working on an update right now but as of right now it will help you in getting started on creating a webmap.

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

A current workaround to create a webmap with popups defined correctly would be to haul the JSON from an ArcGIS Online webmap and pasting that JSON into your mobile content server.

This link below will allow you to haul the JSON from your webmap. The bold section of the URL is called your webmap item ID. Each of your webmaps will have an item ID. In this instance below the webmap is shared with everyone and I do not need to add a token to the URL. In the doc link there is a section called Reading and Creating JSON from ArcGIS Online, this section will help explain to you how to create a token for private webmaps and the sections after that will show you where to place the JSON once you have extracted it from the webmap.

http://arcgis.com/sharing/content/items/bb11d9317fb44a858672da9d0c94f8fe/data?f=pjson

Let me know if this helps.
Cheers
Russ
0 Kudos
DeyaniraMartinez_Lucero
New Contributor II
Hi Russ ... thanks very much. I´m working in the sample than you give me 🙂 thanks.
I have other ddoubt (sorry!!! ) .. but I don't know how get the "itemId" , in the sample is : "itemId": "9aad3c31df654d06ac66125217f8402f", but when I try to do my own definition, I can not find where to get this itemId.
Thanks Russ 🙂
Grettings 😄
- Deya
0 Kudos
RussRoberts
Esri Notable Contributor
Hey dlucero,
You will find the itemid for your webmap within the webmap url on arcgis.com and/or explorer.arcgis.com.
I have attached an image that shows you where to find your itemId. Remember that if your map is not public on arcgis.com/explorer.arcgis.com, you will have to generate a token before hand to be able to extract the the JSON from your webmap. Place your username and password in the sections of the url below that have been bolded. Also note that I am using https within this url to produce a token.

https://www.arcgis.com/sharing/generateToken?f=json&request=gettoken&username=myusername&password=mypassword&Referer=MyToken

Once you receive your token

â??{"token" : "QbEq7l8HoCiUDrW9tS7I0PgjFGagX9UCJwCV4Op8J_pvDUPEQCzSy3Twct734ZG8","expires" : 13061295319â?�

You will then use the token in your extract JSON url. The red font is the itemID, the blue is the token url.

http://www.arcgis.com/sharing/content/items/0a27f5cb1f07478fbdf117b70231c5c2/data?f=pjson&token=QbEq7l8HoCiUDrW9tS7I0MAJLxXaS4Vzt- TJRjIhg2TjxX98_FN9jD1ZfeWTdvwk

This will then extract the JSON within your browser for that webmap that is private. You can then take that JSON and paste it into your mobile content server.

Let me know if this works out for you.
Cheers
Russ
0 Kudos