identify setting tool

667
2
07-03-2014 01:44 AM
MohammedKhamis
New Contributor II
Dear All ,

Actually I was trying to identify setting tool ,
but I have Question and I need help from you .

I put identify in my web map it is working , but i dont want identify working for all layers in my web , only I need for specific layers  ,

that when I using or I choosing  identify from (All layers) , it is mean working for all layers but I dont want to do that !!!

how can do that or how can  setting that ??


thanks for helping
regards
Tags (2)
0 Kudos
2 Replies
MohammedKhamis
New Contributor II
Example if I have layer is called( Topography ) I don't want to identify , how can setting on the identify ???

this code for my identify

<?xml version="1.0" ?>
<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>
    <autoactivatedtool>mappoint</autoactivatedtool>
    <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>
        <copylabel>Copy results to clipboard</copylabel>
    </labels>
    <layers onlythese="false">
        <layer>
            <name>Fields</name>
            <id>2</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/General/General/MapServer</url>
            <fields>
                <field name="Field_ID" alias="Field Name"/>
                <field name="Shape.STLength()" alias="Perimeter "/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Camps</name>
            <id>3</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/General/General/MapServer</url>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Stations</name>
            <id>4</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/General/General/MapServer</url>
            <fields>
                <field name="Name" alias="Name"/>
                <field name="Shape.STLength()" alias="Perimeter"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Well Locations</name>
            <id>5</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/GeneralServices/General_Services/MapServer</url>
            <fields>
                <field name="Name" alias="Name"/>
                <field name="Shape.STLength()" alias="Perimeter " numberformat="0|,1|."/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Generators</name>
            <id>6</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/GeneralServices/General_Services/MapServer</url>
            <fields>
                <field name="Name" alias="Name"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Helipads</name>
            <id>7</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/GeneralServices/General_Services/MapServer</url>
            <fields>
                <field name="Name" alias="Name"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Villages</name>
            <id>8</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/GeneralServices/General_Services/MapServer</url>
            <fields>
                <field name="Name" alias="Name"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Roads</name>
            <id>1</id>
            <url>http:/10.16.195.34:6080/arcgis/rest/services/GeneralServices/General_Services/MapServer/1</url>
            <fields>
                <field name="Name" alias="Name"/>
                <field name="Shape.STLength()" alias="Perimeter"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Well Production FlowLines</name>
            <id>0</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/Reservoir/Reservoir/MapServer</url>
            <fields>
                <field name="Name" alias="Name"/>
                <field name="Field_ID" alias="Field_ID"/>
                <field name="Production_Hours" alias="Production_Hours"/>
                <field name="Oil" alias="Oil"/>
                <field name="Water" alias="Water"/>
                <field name="Gas" alias="Gas"/>
                <field name="Test_Oil" alias="Test_Oil"/>
                <field name="Test_Water" alias="Test_Water"/>
                <field name="Test_Gas" alias="Test_Gas"/>
                <field name="Intake_Pressure" alias="Intake_Pressure"/>
                <field name="WH_Pressure" alias="WH_Pressure"/>
                <field name="Choke" alias="Choke"/>
                <field name="Water_Injection" alias="Water_Injection"/>
                <field name="Water_Rate" alias="Water_Rate"/>
                <field name="Date" alias="Date"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Oil Wells</name>
            <id>2</id>
            <url>http://10.16.195.34:6080/arcgis/rest/services/Reservoir/Reservoir/MapServer</url>
            <fields>
                <field name="Name" alias="Name"/>
                <field name="Date" alias="Date"/>
                <field name="Field_ID" alias="Field_ID"/>
                <field name="Production_Hours" alias="Production_Hours"/>
                <field name="Oil" alias="Oil"/>
                <field name="Water" alias="Water"/>
                <field name="Gas" alias="Gas"/>
                <field name="Test_Oil" alias="Test_Oil"/>
                <field name="Test_Water" alias="Test_Water"/>
                <field name="Test_Gas" alias="Test_Gas"/>
                <field name="Intake_Pressure" alias="Intake_Pressure"/>
                <field name="WH_Pressure" alias="WH_Pressure"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>Water Wells</name>
            <id>1</id>
            <url>http:/10.16.195.34:6080/arcgis/rest/services/Reservoir/Reservoir/MapServer/1</url>
            <fields>
                <field name="Name" alias="Name"/>
                <field name="Water_Rate" alias="Water_Rate"/>
                <field name="Date" alias="Date"/>
                <field name="Field_ID" alias="Field_ID"/>
                <field name="Production_Hours" alias="Production_Hours"/>
                <field name="Water_Injection" alias="Water_Injection"/>
                <field name="Intake_Pressure" alias="Intake_Pressure"/>
                <field name="WH_Pressure" alias="WH_Pressure"/>
                <field name="Choke" alias="Choke"/>
            </fields>
            <links/>
            <zoomscale>2000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
    </layers>
    <symbols>
        <simplefillsymbol color="0x448ccb" alpha="0.4" style="solid">
            <outline color="0x448ccb" alpha="0.8" width="2" style="solid"/>
        </simplefillsymbol>
        <simplemarkersymbol color="0x448ccb" alpha="0.8" style="circle" angle="0" size="12">
            <outline color="0xffffff" alpha="0.8" width="1" style="solid"/>
        </simplemarkersymbol>
        <simplelinesymbol color="0x448ccb" alpha="0.8" width="2" style="solid"/>
        <picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" angle="0"/>
    </symbols>
</configuration>



thanks
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mohammed,

  That is covered in the widgets documentation.

<layers onlythese="true">

And then configure only the layers that you what identified.
0 Kudos