FIELDVALUE  Examples

Used in:  RESPONSE   MARKUP
Servers:  Geocode  
Parent elements:  FIELD  

<FIELDVALUE Attribute Description Table

     valuestring ="string"
>


     When parent element is FIELD in a GEOCODE response:
     <POINT... />

     When parent element is FIELD in MARKUP:
     (m) <MULTIPOINT... />  [Or]
     (m) <POLYGON... />  [Or]
     (m) <POLYLINE... />  [Or]

</FIELDVALUE >
(m):  Child element can be used multiple times.


Description:


Restrictions:


Notes:


Attribute Descriptions for FIELDVALUE:

Attribute Usage Back to Top
valuestring Returns field value from database field.
 

Examples for FIELDVALUE:

Example 1: When in a GEOCODE response. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<RESPONSE>
  <GEOCODE>
    <FEATURE featureid="1">
      <FIELD type="4" name="SCORE" size="5" precision="0">
        <FIELDVALUE valuestring="100" />
      </FIELD>
      <FIELD type="12" name="ADDRESSFOUND" size="21" precision="0">
        <FIELDVALUE valuestring="380 NEW YORK ST 92373" />
      </FIELD>
      <FIELD type="-98" name="SHAPEFIELD">
        <FIELDVALUE>
          <POINT x="-117.19496116" y="34.05777355" />
        </FIELDVALUE>
      </FIELD>
    </FEATURE>
    <GCCOUNT count="1" />
    </GEOCODE>
  </RESPONSE>
</ARCXML>

Example 2: When in MARKUP. Back to Top
<?xml version="1.0"?>
<MARKUP>
  <WORKSPACES>
    <FEATURESERVERWORKSPACE name="ifs_ws-0" url="http://mycomputer.domain.com/servlet/com.esri.esrimap.Esrimap" service="world" />
  </WORKSPACES>
  <MARKUPLAYER layername="Countries" workspace="ifs_ws-0">
    <ADDEDFEATURES>
      <FEATURE featureid="1000000">
      <ENVELOPE minx="-35.92572247220596" miny="-48.809104594884616" maxx="-5.291989044369359" maxy="-21.047283675907693" />
      <FIELD name="AREA" precision="3" size="12" type="8" />
      <FIELD name="NAME" precision="0" size="40" type="12" />
      <FIELD name="ABBREVNAME" precision="0" size="12" type="12" />
      <FIELD name="FIPS_CODE" precision="0" size="2" type="12" />
      <FIELD name="WB_CNTRY" precision="0" size="3" type="12" />
      <FIELD name="#SHAPE#" precision="0" size="0" type="-98">
        <FIELDVALUE>
          <POLYGON>
            <RING>
            <POINT x="-19.17289950385782" y="-21.047283675907693" />
            <POINT x="-35.92572247220596" y="-38.2787587290658" />
            <POINT x="-10.078509892468816" y="-48.809104594884616" />
            <POINT x="-5.291989044369359" y="-24.397848269577324" />
            <POINT x="-19.17289950385782" y="-21.047283675907693" />
            </RING>
          </POLYGON>
        </FIELDVALUE>
      </FIELD>
      </FEATURE>
    </ADDEDFEATURES>
  </MARKUPLAYER>
</MARKUP>