<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57272#M4530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it pssilble with arcpy?&lt;/P&gt;&lt;P&gt;Or is there an other skript possiblity?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Sep 2015 07:48:05 GMT</pubDate>
    <dc:creator>ThomasBrogle</dc:creator>
    <dc:date>2015-09-18T07:48:05Z</dc:date>
    <item>
      <title>How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57272#M4530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it pssilble with arcpy?&lt;/P&gt;&lt;P&gt;Or is there an other skript possiblity?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 07:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57272#M4530</guid>
      <dc:creator>ThomasBrogle</dc:creator>
      <dc:date>2015-09-18T07:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57273#M4531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please give us a little bit more detail on what you are trying to achieve. I don't quite understand your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 07:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57273#M4531</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-09-18T07:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57274#M4532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same problem as in post &lt;A href="https://community.esri.com/thread/142569"&gt;Set Layer ID for a layer in ArcMap 10.3&lt;/A&gt; &lt;/P&gt;&lt;P&gt;But i want solve it with python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 08:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57274#M4532</guid>
      <dc:creator>ThomasBrogle</dc:creator>
      <dc:date>2015-09-18T08:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57275#M4533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;​arcpy mapping&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/alphabeticallistoffunctions.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/alphabeticallistoffunctions.htm"&gt;Alphabetical list of arcpy.mapping functions—Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/alphabeticallistofclasses.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/alphabeticallistofclasses.htm"&gt;Alphabetical list of arcpy.mapping classes—Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;amongst other links &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 01:56:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57275#M4533</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-09-23T01:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57276#M4534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't found an arcpy.mapping functions for setting a layer/table-ID.&lt;/P&gt;&lt;P&gt;Even in arcpy.mapping classes i haven't found a method in the class "layer" to set the ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Know somebody else more?&lt;/P&gt;&lt;P&gt;Is there a possibility in python with arcobjects?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 08:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57276#M4534</guid>
      <dc:creator>ManuelBröchin</dc:creator>
      <dc:date>2015-10-02T08:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57277#M4535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; if the property existed, it could be set, meaning that layers don't have an ID property but it has a readonly ObjectID property&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdesktop.arcgis.com%2Fen%2Fdesktop%2Flatest%2Fanalyze%2Farcpy-functions%2Ftable-properties.htm" rel="nofollow" target="_blank"&gt;http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-functions/table-properties.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 09:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57277#M4535</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-02T09:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57278#M4536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've got the wrong ID ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside a mxd (ArcGIS 10.3+) you can open the possiblity to fix the IDs on the data frame:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="mxd_config_IDs.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/129312_mxd_config_IDs.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that you can fix the ID on each layer:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="mxd_config_set_layer.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/129313_mxd_config_set_layer.jpg" style="width: 620px; height: 487px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The wish is to set this layer ID's ... but with a python script and not manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see the&amp;nbsp; IDs in a published MapService - the numbers in brackets:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rest_mapservice.jpg" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/129314_rest_mapservice.jpg" style="width: 620px; height: 970px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 11:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57278#M4536</guid>
      <dc:creator>ManuelBröchin</dc:creator>
      <dc:date>2015-10-02T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57279#M4537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using 10.2, so can't test anything in 10.3, but this doesn't appear to be a property of the &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/layer-class.htm"&gt;Layer &lt;/A&gt;object. I'm guessing you're out of luck, at least as far as arcpy goes, which truly isn't meant to do absolutely everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 21:32:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57279#M4537</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-10-02T21:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57280#M4538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But it isn't on the list of properties you can set in the link I sent you​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 22:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57280#M4538</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-02T22:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57281#M4539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't found a function nor a method: To set the Table ID.&lt;/P&gt;&lt;P&gt;Tell me the name of the function or method you mean.&lt;/P&gt;&lt;P&gt;I look for the same as is described upper for the Layer ... in the example the Table ID is 200 - i want set it for example to 400. How can i do it programmatically?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table_properties_id.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/132245_table_properties_id.jpg" style="width: 620px; height: 465px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 12:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57281#M4539</guid>
      <dc:creator>ManuelBröchin</dc:creator>
      <dc:date>2015-10-19T12:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57282#M4540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have u found how to do it programatically ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 08:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/57282#M4540</guid>
      <dc:creator>RaghavGupta</dc:creator>
      <dc:date>2019-04-09T08:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/1118943#M63019</link>
      <description>&lt;P&gt;Very old thread.&amp;nbsp; &amp;nbsp;Did you ever get this to work?&amp;nbsp; &amp;nbsp; &amp;nbsp;I am trying to do the exact thing using 10.8.1 and I don't think much has changed in regard to this problem from 10.3, unless I am missing it in ArcPy.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 22:42:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-is-it-possible-to-set-a-layer-or-table-id-with/m-p/1118943#M63019</guid>
      <dc:creator>BillHarvey1</dc:creator>
      <dc:date>2021-11-19T22:42:08Z</dc:date>
    </item>
  </channel>
</rss>

