Select to view content in your preferred language

Label expression doesnt work

1274
15
12-03-2018 12:54 PM
EvelynHernandez
Frequent Contributor

Hello everyone,

Im having a problem with a label expression in ArcMap that we have setted up.

As u can see, we added a label exp in VScript that works in Arcmap but when we go to the mapview that we made, the layer is showing the datetime in another way (not with the logic we put it the expression).

What could be happening?

Thanks in advice.

Tags (2)
0 Kudos
15 Replies
EvelynHernandez
Frequent Contributor

Any suggestions?

0 Kudos
EvelynHernandez
Frequent Contributor

 i havent resolved my problem yet ...

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Are you accessing that layer through a MapImageLayer or is it just coming from the web map?

0 Kudos
EvelynHernandez
Frequent Contributor

Im using it with JS API as Dynamic

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Dynamic?? Are you talking 4.x or 3.x?

0 Kudos
EvelynHernandez
Frequent Contributor

3.x

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Evelyn,

   So you are adding this layer as a ArcGISDynamicMapServiceLayer? Do the labels appear properly when you just view the map using the REST end point 

View In:   ArcGIS JavaScript

?

0 Kudos
EvelynHernandez
Frequent Contributor

Yes i am.

In arcmap (after the configuration for the label) it is showing in the map like in the pic 1. (Thats what we want)

But after we go to our web app (adding it as ArcGISDynamicMapServiceLayer) the label is showing a different thing (pic 2)

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Again.

Do the labels appear properly when you just view the map using the REST end point by clicking on the:

View In:   ArcGIS JavaScript

?

0 Kudos