[mapguide-users] mapguide 2.5.2 fod expression KEYWORD return Layer selectable or not

2017-05-17 Thread Rémy Gourrat
Hi,

I want to return in the tooltip if the layer is selectable or no and convert it 
in a user friendly message "click on this object to obtain more details..."

Is there a fdo FDO KEYWORD for this ?

or if there is not, a workaround ? an API client ?

thanks for your advice

Rémy




-
AG-Carto - Bayonne
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-2-5-2-fod-expression-KEYWORD-return-Layer-selectable-or-not-tp5320801.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide 2.5.2 fdo expression IF with a string field

2017-05-17 Thread Rémy Gourrat
Hi,

If i use the FDO expression with a number field like this => IF('FIELD1 = 
1','Yes!','No') it's Ok

But I don't know how to escape the quote character when I want to use it with a 
string field, I tried it without success :

IF('FIELD1 = \'A\'','Yes!','No')

IF('FIELD1 = ''1''','Yes!','No') double single quote

IF('FIELD1 = "1"','Yes!','No') one double quote

Thanks for your help

Rémy





-
AG-Carto - Bayonne
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-2-5-2-fdo-expression-IF-with-a-string-field-tp5320800.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users