Q:

Arcgis Javascript latitude and longitude convert to WGS_1984_UTM_Zone_36N

I am using Arcgis Javascript api. I have two points comes from Google maps like this
x:-111.67095840000002 y: 32.7558935
I wanna use this points on my Arcgis map. My map spatial reference is using wkt WGS_1984_UTM_Zone.... I mean it is not using wkid.
theX = results[0].geometry.location.lng();
theY = results[0].geometry.location.lat();

console.log("Longitude: " + theX + " Latitude: " + theY);

var pointESRI = new Point(Number(theX), Number(theY), map.spatialReference);
console.log(pointESRI);

var mp = WebMercatorUtils.geographicToWebMercator(pointESRI);
console.log(mp);

pointESRI = new Point({ "x": mp.x, "y": mp.y, "spatialReference": map.spatialReference });
     

WebMercatorUtils.geographicToWebMercator() methot not converting point as appropriate to WGS84 reference.

A:

You're going to have to use a Geometry Service to project features into anything other than the Web Mercator spatial reference. This sample show how to do a coordinate conversion using the service. The current projection tools within the API only do a  geographic to/from Web Mercator projection.

