Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2328

ArcGIS 10.1 - Conditional dynamic title

$
0
0
Hi,

I would like to know if it possible to have a conditional dynamic title based on a attribute field ?

I know this in python but just wondering if we can do something like that in HTML ?

Code:

def FindLabel ( [Defusion], [NOM]  ):
  if [Defusion] == 'Oui':
    return "Municipalite" + " " + <dyn type="page" property="name">
  else:
    return "Arrondissement" + " " + <dyn type="page" property="name">

Thanks you

Viewing all articles
Browse latest Browse all 2328

Trending Articles