Select to view content in your preferred language

Identify Feature - ESRI ArcGIS APP Update

6568
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
I forgot to attach the image in my previous post to show you where you can locate your itemID. Here it is.
Cheers
Russ
0 Kudos
DeyaniraMartinez_Lucero
New Contributor II
Hi Russ!!! 😄
Thank you very much. I have solved my problem, now I must learn more about this new configuration.
When the document to configure the webmap JSON spec 1.3, is ready, could you share with me?
Russ Thanks for everything.
regards
- Deya
0 Kudos
RussRoberts
Esri Notable Contributor
Glad everything has worked out for you Deya.
I will post the update doc on this forum thread and will also throw up an update on twitter(RussNL) and on the ArcGIS Mobile Blog.
Cheers
Russ
0 Kudos
BradChappell
New Contributor
Can you please provide sample json for displaying popups?

I'm hosting maps only through our company VPN and have to do this manually but I cannot find any samples.

Thanks.
0 Kudos
RussRoberts
Esri Notable Contributor
Here is a sample of popups for a polygon feature service. It has chart samples, image media, attachments, and field visibility.
Let me know if you have any further questions.
Cheers
Russ
0 Kudos
EricAnderson
New Contributor II
Thanks for all your help Russ.

I have created a map on ArcGIS online with several services and a popup set up on one of the service's layers.  I extracted the JSON and plugged it into my content server on my local ArcGIS Server.  The services are secured ( I temporarily made them unsecure to get the JSON from the ArcGIS.online map) and the data displays fine when the services are secure.  However, the popups only work when the local services are unsecure.  Seems like the popup functionality is being defined on ArcGIS.online rather than by my local content server.

There are two elements 'id and "itemID' in the JSON which seem to reference ID numbers found on the ArcGIS.online versions of the services.  Should these just be removed to allow the popups to work locally?   Seems some other examples of 'local' JSON don't have these elements.

Thank you,

Eric
0 Kudos
RussRoberts
Esri Notable Contributor
Those properties shouldn't affect the popups within webmap and can remain within the JSON. The switch from unsecured to secured shouldn't affect the popup. Make sure the data schema being used between the secured/unsecured is mirrored.

Just a couple of questions:
What type of security are you using?
What type of services are being used?
Are you using a map service item?

Thanks
Russ
0 Kudos
EricAnderson
New Contributor II
"Make sure the data schema being used between the secured/unsecured is mirrored".

Lost me right there.  Schema of the FC with the fields to be put in the popup?   If so, the FC used to define the schema configured in the ArcGIS.online map is the same one that is accessed locally for my local servers.  Or is it something else?

I have a secured instance of ArcGIS Server that has security enabled with SQL Server users and roles.   Services only allow one role which contain a User that is in the agsusers group.  The instance has Anonymous User allowed in IIS.  Service folder is not secured with encryption yet so no SSL.  Map services contain the layer and the services are based on MSDs.  All AGS 10.

Does pooled matter for services in AGS?

Eric
0 Kudos
RussRoberts
Esri Notable Contributor
When you brought the map services into arcgis.com did you enable the popups and save the configuration of the popups and then save the entire map and then extract the JSON.

Could you post the JSON you extracted? You can remove the services and any other sensitive information contained within the JSON.

Thanks
Russ
0 Kudos
EricAnderson
New Contributor II
.. into arcgis.com did you enable the popups and save the configuration of the popups and then save the entire map and extract the JSON.

Yes.  Here's the JSON I entered for the MobileWeb item:

{
  "operationalLayers": [
    {
      "url": "http://<externalfacigndomain>/<ArcGIS instance>/rest/services/<folder>/<mapservice>/MapServer",
      "id": "<mapservice name with '_xxxx" applied by ArcGIS.online on the end>",
      "visibility": true,
      "opacity": 0.5,
      "title": "Parcels",
      "itemId": "f072bc69652949b8a628eb41f92d1acf",
      "layers": [{
        "id": 1,
        "popupInfo": {
          "title": "Proj_Pars: {APN}",
          "fieldInfos": [
            {
              "fieldName": "OBJECTID",
              "label": "OBJECTID_12",
              "isEditable": false,
              "visible": false
            },
            {
              "fieldName": "Shape",
              "label": "Shape",
              "isEditable": false,
              "visible": false
            },
            {
              "fieldName": "COUNTY",
              "label": "County",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "SEGMENT",
              "label": "Alignment Segment",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "APN",
              "label": "APN#",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "APN_JOIN",
              "label": "APN_JOIN",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "PAR_LOC",
              "label": "Parcel Summary",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "GIS_STA",
              "label": "Status",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "SITUSADD",
              "label": "Address",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "OWN_TYPE",
              "label": "Owner Type",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "OWNER",
              "label": "Owner Name",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "OWN_INST",
              "label": "Owner Instructions",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "SURV_PAR",
              "label": "Survey Parcel",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "ESL_Pars",
              "label": "In ESL Parcel",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "ESL_Type",
              "label": "ESL_Type",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "PM1_TYP",
              "label": "Permit Type",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "PM1_EXP",
              "label": "Permit Expiration",
              "isEditable": false,
              "visible": false,
              "format": {"dateFormat": "shortDateShortTime"}
            },
            {
              "fieldName": "PM1_ST",
              "label": "Permit Status",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "AGAP1_ST",
              "label": "Agency App Status",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "PERM_ACT",
              "label": "Permit Action",
              "isEditable": false,
              "visible": true,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "Acres",
              "label": "Acres",
              "isEditable": false,
              "visible": true,
              "format": {
                "places": 2,
                "digitSeparator": true
              }
            },
            {
              "fieldName": "Comments",
              "label": "Comments",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "DataSrc",
              "label": "DataSrc",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "Src_Co",
              "label": "Src_Co",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "Init_IDd",
              "label": "Init_IDd",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "Curr_IDd",
              "label": "Curr_IDd",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "GIS_DUP",
              "label": "GIS_DUP",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "GIS_COMM",
              "label": "GIS_COMM",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "Shape_Length0",
              "label": "Shape_Length",
              "isEditable": false,
              "visible": false,
              "format": {
                "places": 2,
                "digitSeparator": true
              }
            },
            {
              "fieldName": "Shape_Area0",
              "label": "Shape_Area",
              "isEditable": false,
              "visible": false,
              "format": {
                "places": 2,
                "digitSeparator": true
              }
            },
            {
              "fieldName": "ESL_Pars_old",
              "label": "ESL_Pars_old",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "ESL_Pars_Pre_Adj",
              "label": "ESL_Pars_Pre_Adj",
              "isEditable": false,
              "visible": false,
              "stringFieldOption": "textbox"
            },
            {
              "fieldName": "OID",
              "label": "OID",
              "isEditable": false,
              "visible": false,
              "format": {
                "places": 0,
                "digitSeparator": true
              }
            },
            {
              "fieldName": "Shape_Length",
              "label": "Shape_Length",
              "isEditable": false,
              "visible": false,
              "format": {
                "places": 2,
                "digitSeparator": true
              }
            },
            {
              "fieldName": "Shape_Area",
              "label": "Shape_Area",
              "isEditable": false,
              "visible": false,
              "format": {
                "places": 2,
                "digitSeparator": true
              }
            }
          ],
          "description": null,
          "showAttachments": false,
          "mediaInfos": []
        }
      }]
    },
    {
      "url": "http://<externalfacigndomain>/<ArcGIS instance>/rest/services/<folder>/<mapservice>/MapServer",
      "id": "<mapservice name with '_xxxx" applied by ArcGIS.online on the end>",
      "visibility": true,
      "opacity": 0.6,
      "title": "Project Data",
      "itemId": "dc7f021e30464de18315e40224455141"
    },
    {
      "url": "http://<externalfacigndomain>/<ArcGIS instance>/rest/services/<folder>/<mapservice>/MapServer",
      "id": "<mapservice name with '_xxxx" applied by ArcGIS.online on the end>",
      "visibility": true,
      "opacity": 1,
      "title": "Labels",
      "itemId": "01c84d9d79314e9fb63bd3b7f6f0a4d9"
    }
  ],
  "baseMap": {
    "baseMapLayers": [{
      "id": "World_Street_Map_4816",
      "opacity": 0.9,
      "visibility": true,
      "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
    }],
    "title": "Streets"
  },
  "version": "1.3"
}


Thanks for looking at it, Eric
0 Kudos