Hi. I was able to get the ArcGIS server polygon layers into HTML but not sure how to do the dynamic X and Y from SQL view. I have added the SQLview and see the points all over the ArcMap and saved to MXD. Deployed to ArcGIS server manager and was able to get the rest service. But how to get those into HTML if I don't have object_ID? The SQL view table content changes day to day and this is why I need X and Y on the fly.
But how to get those into HTML if I don't have object_ID?
what do you mean, get them into HTML?
are you attempting to consume the map service you've created using our JavaScript API? if so, you might try modifying one of our application samples (which loads the following REST service)
all you have to do is point at the REST endpoint of your own service instead. Live changes to the data referenced in the map used for publishing should be reflected in the service (and client applications which consume it) automatically.
But how to get those into HTML if I don't have object_ID?
what do you mean, get them into HTML?
are you attempting to consume the map service you've created using our JavaScript API? if so, you might try modifying one of our application samples (which loads the following REST service)
all you have to do is point at the REST endpoint of your own service instead. Live changes to the data referenced in the map used for publishing should be reflected in the service (and client applications which consume it) automatically.