Select to view content in your preferred language

Feature layer filed name contains a dot

836
4
01-25-2013 03:25 AM
ab1
by
Deactivated User
Hi,

I have a feature layer having a field named SHAPE.LEN. I'd like to use that field in my flex API. When I call that field in this way:
data.SHAPE.LEN

I get an error.
I tryed putting the field name between brackets but it doesn't work either.

Is there any solution to avoid this problem?

Regards
Tags (2)
0 Kudos
4 Replies
KenBuja
MVP Esteemed Contributor
Take a look at this post showing how to use brackets with the SDE field names
0 Kudos
ab1
by
Deactivated User
I tryed
data.["SHAPE.LEN"]

but it didn't work.

I guess I'll have to create a new field for my featureLayer.
0 Kudos
YannCabon
Esri Contributor
Hi,

try data["SHAPE.LEN"]

Yann
0 Kudos
ab1
by
Deactivated User
And in outFields of the featureLayer, I just put SHAPE.LEN? I tryed 'SHAPE.LEN', [SHAPE.LEN] and ["SHAPE.LEN"] in outfields without success.
0 Kudos