<?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 Requirements for OID Field in SqLite Database in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1002884#M5756</link>
    <description>&lt;P&gt;I would like to develop an ArcGIS Pro AddOn that uses the same SqLite Database as another product of my company. For the tables in the Database, the OBJECTID / OID field is missing.&lt;/P&gt;&lt;P&gt;What are the requirements from the perspective of the SQLite Database to fullfill the ArcGIS Pro requirements ? How can I create such a field in SqLite ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Nov 2020 08:43:24 GMT</pubDate>
    <dc:creator>Ulrich_Egger</dc:creator>
    <dc:date>2020-11-19T08:43:24Z</dc:date>
    <item>
      <title>Requirements for OID Field in SqLite Database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1002884#M5756</link>
      <description>&lt;P&gt;I would like to develop an ArcGIS Pro AddOn that uses the same SqLite Database as another product of my company. For the tables in the Database, the OBJECTID / OID field is missing.&lt;/P&gt;&lt;P&gt;What are the requirements from the perspective of the SQLite Database to fullfill the ArcGIS Pro requirements ? How can I create such a field in SqLite ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 08:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1002884#M5756</guid>
      <dc:creator>Ulrich_Egger</dc:creator>
      <dc:date>2020-11-19T08:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Requirements for OID Field in SqLite Database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1003023#M5759</link>
      <description>&lt;P&gt;You can look here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/databases/work-with-sqlite-databases-in-arcgis-pro.htm#:~:text=You%20can%20connect%20to%20an%20SQLite%20database%20or,for%20the%20exchange%20of%20data%20between%20software%20packages" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/help/data/databases/work-with-sqlite-databases-in-arcgis-pro.htm#:~:text=You%20can%20connect%20to%20an%20SQLite%20database%20or,for%20the%20exchange%20of%20data%20between%20software%20packages&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;and here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/product/data-management/how-to-use-ogc-geopackages-in-arcgis-pro/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/product/data-management/how-to-use-ogc-geopackages-in-arcgis-pro/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For some input.&amp;nbsp; It appears that not all versions supported tables to start out with, so make sure you're using a release that supports it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 16:52:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1003023#M5759</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-19T16:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Requirements for OID Field in SqLite Database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1003876#M5770</link>
      <description>&lt;P&gt;I don't find there what I am looking for. If I create a column in a table by&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALTER TABLE table_name&lt;BR /&gt;ADD new_column_name column_definition;&lt;/P&gt;&lt;P&gt;where new_column_name = 'OBJECTID', what do I need to take as column_definition in order to get an OBJECTID column that will be working with ArcGIS Pro ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 07:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1003876#M5770</guid>
      <dc:creator>Ulrich_Egger</dc:creator>
      <dc:date>2020-11-23T07:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Requirements for OID Field in SqLite Database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1004171#M5779</link>
      <description>&lt;P&gt;That will not work.&amp;nbsp; You have to create a geodatabase first, which will in essence create stored procedures and functions that aid in creating feature classes and tables in that database.&amp;nbsp; The instructions on how to create a geodatabase are in the links in my reply above, specifically:&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-sqlite-database.htm" target="_blank" rel="noopener"&gt;Create SQLite Database (Data Management)—ArcGIS Pro | Documentation&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once you follow these instructions you should then be able to create a feature class (point/lines/polygons) and/or tables by using the right click on the database.&amp;nbsp; &amp;nbsp;Once created, you can also add the database to your project to make access easier.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen1.png" style="width: 505px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/863iE3C743091A7CAED3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen1.png" alt="Screen1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 14:07:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1004171#M5779</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-24T14:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Requirements for OID Field in SqLite Database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1004589#M5781</link>
      <description>&lt;P&gt;I think I found what I need by opening a feature Class created (or in my case copied) by ArcGIS Pro and then opening the file in DB Browser for sqlite. There, it is possible to see the create statement for the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE TABLE [Schacht] (OBJECTID integer primary key autoincrement not null, ....&lt;/P&gt;&lt;P&gt;So the OBJECTID must be&lt;/P&gt;&lt;P&gt;integer&lt;/P&gt;&lt;P&gt;primary key&lt;/P&gt;&lt;P&gt;autoincrement&lt;/P&gt;&lt;P&gt;not null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 07:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/requirements-for-oid-field-in-sqlite-database/m-p/1004589#M5781</guid>
      <dc:creator>UlrichEgger</dc:creator>
      <dc:date>2020-11-25T07:30:10Z</dc:date>
    </item>
  </channel>
</rss>

