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.