Select to view content in your preferred language

Identify Widget 3.5.1 issue

1839
16
11-08-2013 11:12 AM
MichaelHanna
Deactivated User
Robert -

I recently upgraded the Identify widget from 2.5.8 to 3.5.1 (as well as to flew viewer 3.5).  I had identified an issue with the Identify 2.5.8 in which is what not returning any domain associated values.  I was ecstatic when upgrading to 3.5.1 cleared up the issue.  However, it was pointed out to me that I seem to have traded one issue for another.  Now, the Identify widget is not returning non-domain associated values!

I have tried a number of things, but have had no success with addressing this issue (the Search tool 3.5.3 is returning both domain and non-domain associated values).

Unfortunately, my webservices are internal only, but I am including the Identify.XML for your perusal.  For reference, I am including a screen cap showing the results for Identify and Search for the same feature.  In particular, LOCATION, LOCATIONDESCRIPTION, INSTALLATIONDATE are blank for Identify but not for Search.

Any help you can provide is greatly appreciated!

Thanks,
Michael

<?xml version="1.0" ?>
<!-- encoding="UTF-8" -->
<configuration>
    <identifylayeroption>visible</identifylayeroption>
    <identifytolerance>5</identifytolerance>
    <defaultzoomscale>5000</defaultzoomscale>
    <keepidentifyactive>true</keepidentifyactive>
    <returngeometryforzoom>true</returngeometryforzoom>
    <enablelineselect>true</enablelineselect>
    <enableextentselect>true</enableextentselect>
    <enablepolyselect>true</enablepolyselect>
    <enablecircleselect>true</enablecircleselect>
    <enableellipseselect>true</enableellipseselect>
    <enablemouseovergraphicsinfo>false</enablemouseovergraphicsinfo>
    <enablemouseoverrecordinfo>true</enablemouseoverrecordinfo>
    <enablegraphicclickinfo>true</enablegraphicclickinfo>
    <usemaptime>false</usemaptime>
    <infoautoclosemilliseconds>2000</infoautoclosemilliseconds><!-- 2 seconds -->
    <autoactivatedtool>mappoint</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->
    <excludebasemaps>true</excludebasemaps>
    <disablepopuplinks>false</disablepopuplinks>
    <disablelayerdropdown>false</disablelayerdropdown>
    <disablealllayerschoice>false</disablealllayerschoice>
    <replacenullswithemptystring>true</replacenullswithemptystring>
    <labels>
        <zoom2message>Click to Zoom to Point</zoom2message>
        <identifylabel>Identify</identifylabel>
        <resultslabel>Results</resultslabel>
        <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
        <pointlabel>Identify by Point</pointlabel>
        <linelabel>Identify by Polyline</linelabel>
        <rectlabel>Identify by Rectangle</rectlabel>
        <polylabel>Identify by Polygon</polylabel>
        <circlelabel>Identify by Circle</circlelabel>
        <ellipselabel>Identify by Ellipse</ellipselabel>
        <clearlabel>Clear</clearlabel>
        <loadinglabel>Loading...</loadinglabel>
        <removeresultmessage>Remove Result</removeresultmessage>
        <idfrom>Identify From</idfrom>
        <noresultsfoundlabel>No Results Found</noresultsfoundlabel>
        <resultsfoundlabel>Results Found</resultsfoundlabel>
        <alllayers>All Layers</alllayers>
        <layersremaining>layers remaining:</layersremaining>
    </labels>
    <useproxy><!-- Enter the label of the MapService from the main config.xml -->
        <!--<proxymapservice label="Imagery" />
        <proxymapservice label="Streets" /> -->
    </useproxy>
<layers onlythese="true">
  <layer>
   <name>Pressurized Mains</name>
   <id>16</id>
   <url>http://gisweb/ArcGIS/rest/services/MSEX_Enterprise_TUI_TESI/MapServer</url>
   <fields>
    <field name = "MSEX_ID" alias="MSEX_ID" />
    <field name = "SUB_TYPE" alias="Type of Main" />
    <field name = "DIAMETER" alias="Diameter" />
    <field name = "MATERIAL" alias="Material" />
    <field name = "LIFECYCLESTATUS" alias="Life Cycle Status" />
    <field name = "INSTALLDATE" alias="Installation Date" dateformat="MM/DD/YYYY" />
    <field name = "ACTIVATIONDATE" alias="Activation Date" dateformat="MM/DD/YYYY" />
    <field name = "LOCATION" alias="Location" />
    <field name = "LOCATIONDESCRIPTION" alias="Location Description" />
    <field name = "REPORTEDLENGTH" alias="Reported Length (ft)" />
    <field name = "SHAPE.LEN" alias="GIS Length (ft)" numberformat="2|,|."/>
    <field name = "WAM_ID" alias="WAM ID" />
    <field name = "CRITICALITY" alias="Criticality" />
    <field name = "MATERIALSPEC" alias="Material Specification" />
    <field name = "PIPECLASS" alias="Pipe Class" />
    <field name = "COMMENTS" alias="Comments" />
   </fields>  
   <linkfield></linkfield>
   <linkprefix></linkprefix>
   <linksuffix></linksuffix>
   <iconfield></iconfield>
   <iconprefix></iconprefix>
   <iconsuffix></iconsuffix>
   <zoomscale>5000</zoomscale>
   <forcescale>true</forcescale>
  </layer>
</layers>

    <symbols>
        <simplefillsymbol color="0x448ccb" alpha="0.4"
            style="solid">
            <outline color="0x448ccb" alpha="0.8" width="2" />
        </simplefillsymbol>
        <simplemarkersymbol style="circle" size="12"
            color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0">
            <outline style="solid" color="0xffffff" alpha="0.8"
                width="1" />
        </simplemarkersymbol>
        <picturemarkersymbol url="assets/images/i_info.png"
            height="30" width="30" xoffset="0" yoffset="0" />
        <simplelinesymbol color="0x448ccb" alpha="0.8"
            width="2" />
    </symbols>
</configuration>
Tags (2)
0 Kudos
16 Replies
RobertScheitlin__GISP
MVP Emeritus
Sveinung,

   It would help me to know which specific layer(s) of the http://80.89.35.21/arcgis/rest/services/Arealplan_SK/Reguleringsplaner_vedtatt_sk_2/MapServer service is suppose to have a coded domain.
0 Kudos
SveinungRaheim
Deactivated User
Almost all of them have, but some have no data.
The only mainlayer that contains data is "Vertikalnivå 2".
The sublayers "RpJuridiskLinje" and "RpOmråde" have several coded domains.
For RpOmråde, the Fields "KOMM", "PLANTYPE", "PLANSTAT", "VERTNIV", "LOVREFERANSE" and "PLANBEST" has coded domains.

I thougth this was a Flexviewer error, but when I check the description links (in the restAPI) for the services, I see that ArcGISserver skips the coded domains for the service with more than 135 layers.

See for the field "KOMM":
Service that do not work: KOMM ( type: esriFieldTypeInteger , alias: KOMM )
Service that work:  KOMM ( type: esriFieldTypeInteger , alias: KOMM , Coded Values: [101: 0101 Halden (�?stfold fylke)] , [104: 0104 Moss (�?stfold fylke)] , [105: 0105 Sarpsborg (�?stfold fylke)] , ...427 more... )

They point to the same dataset and are identical in the mxd (ArcMAP).


I think I will forward this error to my software deliverer, but of course, if you have any suggestions, I will be glad.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sveinung,

   That is what I was going to check (to see if the REST endpoint for the service reported the coded domains). At this point I would call ESRI tech support and see if they can help resolve the ArcGIS Server Service publishing issue.
0 Kudos
SveinungRaheim
Deactivated User
The problem is solved I think. In ArcGIS server manager, you open the specific service, choose "parameters" and increase the value in the "maximum number of coded domains". Default is 25000, I increased it to 35000. Then the service with 135 layers used coded domain descriptions. I was warned, that ESRI has implemented this to make sure you know that you want to publish a "heavy" service.
[ATTACH=CONFIG]29641[/ATTACH]

I will delete the test client linked further up, sorry for that, but it has no longer any use.

Sveinung Bertnes Råheim
GIS-advisor
County governor of Nordland, Norway
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sveinung,

   Glad you got it worked out. Be sure to mark this thread as answered by clciking on the check mark (so that it does not appear in the forums as unresolved).
0 Kudos
SveinungRaheim
Deactivated User
How do I mark the this thread as solved?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sveinung,

  Sorry, I deleted that post after I noticed that you did not start this thread, so you can not mark it as answered.
0 Kudos