Skip to main content

Unable to select graphics of features in map service

Comments

6 comments

  • Nico Burgerhart

    Using the wrong IDs? You should use site IDs and not mapservice IDs in the Select Features activity.

    0
  • Ryan Kelley

    Thanks Nico - yes, I am aware of the site IDs vs Map service IDs. They seem correct to me. I have done this 100 times. Again, the records ARE selected in the results view, just not highlighted.

    0
  • Ryan Kelley

    In addition, when selecting on each record in the results view, the map pans to the extent of that record, but does not highlight it. 'Select All' is greyed out too. ???

    0
  • Permanently deleted user

    Hi Ryan,

    For Highlighting to show up when selecting features, your layer must include the SHAPE field. This doesn't have to be visible in the viewer, but it must be available at the ArcGIS Server REST Endpoint for your layer. Can you verify that this field is included on your layer?

    -Victoria

    0
  • Conner Leverett

    Hi Ryan,

    Is the spatial reference of the map service that is giving you trouble different from the spatial reference of your site? If so, are you setting the 'Out Spatial Reference' property in the Query Task activity to match the spatial reference of the site?

    Cheers,

    -Darren

    0
  • Ryan Kelley

    Darren,

    That was it! I am so used to all of our services being in 102100, I failed to check the service I was querying against, which happened to be in GCS (4326). 

    Victoria,

    The SHAPE field is available in REST. Just fyi...

    thanks to you both,

    ryan

    0

Please sign in to leave a comment.