Thanks Kelly.
I am consuming my WebMap in a Javascript app, and it appears I have an option is to do client-side labeling using labelingInfo with LabelClass or a LabelLayer, but similar to ArcGIS Online, both methods display the Date part of the date_time field. Do you have any suggestion or work around for labeling client-side Javascript app?
Regards,
Roman
// Label Class
var labelClass = new LabelClass({
labelExpression: '[date_time]', <= no REST API formatting of label?
labelPlacement: 'always-horizontal',
});
var labelingInfos= []
labelingInfos.push(labelClass)
layer.setLabelingInfo(labelingInfos);
// Label Layer
var textColor = new Color("red");
var textLabel = new TextSymbol().setColor(textColor);
textLabel.font.setSize("14pt");
textLabel.font.setFamily("arial");
textLabelRenderer = new SimpleRenderer(textLabel);
var labels = new LabelLayer({
id: "labels"
});
labels.addFeatureLayer(layer, textLabelRenderer, "${date_time}"); <= no info windows template date formatting?
map.addLayer(labels);