blank labels on geocode results
Using the new Essentials 4.5.1 and HTML5 2.6.1 setup, our geocoding workflow has stopped putting labels beside the geocoding results. This works fine in our old 2.4.1 viewer using the same geocoding service (ArcGIS).
I know there was a bug with the reverse geocoding from the right-click context menu where it was looking for a specific JSON structure that isn't always returned by ArcGIS. Does anyone know if this issue also applies to a normal geocode resultset (displayed using SelectFeatures activity).
When you click on any of the results, it will display all the attributes as expected - it's just the label on the resultset that doesn't appear.
Any input greatly appreciated.
Peter
0
-
After digging into this issue further, it appears that there may have been a breaking change somewhere between the 2.4.1 and 2.6.1 viewers. The issue lies in the presence/absence of Feature Format and Description Format properties in the SelectFeatures activity.
Using the exact same workflow, in 2.4.1 the labels (full geocoded address) display fine without using either the Label or Description format fields. In 2.6.1 though, no label will appear unless the Label Format (and optionally Description Format) property is defined.
Not sure that I would classify this as a bug (unless the functionality was SUPPOSED to be the same) but it would be nice if the functionality change had been documented.
Peter.0 -
Hi Peter. We have the same issue. Do you know what is the right syntax to define a label format? For instance, the feature set has an attribute field called "Location Search Results" 0 -
Don,
I'm not sure if spaces in the attribute name affect things or not but for us, we just had a field called "address" so in the LabelFormat textbox in the workflow designer, I entered "{Address}" - including the quotes, since it's a text string.
Peter.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare