<?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 SQL Insert After Trigger not working correctly with inserted ArcGIS Mobile records in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/sql-insert-after-trigger-not-working-correctly/m-p/183792#M776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you add a record to arcgis mobile then synchronise it, it appears you aren't getting a proper insert after event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;inserted&lt;/SPAN&gt;&lt;SPAN&gt; record doesn't have any geometry.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add the point in ArcMap it all works like it should with the geometry existing in &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;inserted&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be that the geometry is added after the initial insert in an update?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No versioning involved here.&amp;nbsp; ArcGIS Mobile 10.1.1 and Server 10.1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2013 21:14:21 GMT</pubDate>
    <dc:creator>PeterTimmers</dc:creator>
    <dc:date>2013-09-23T21:14:21Z</dc:date>
    <item>
      <title>SQL Insert After Trigger not working correctly with inserted ArcGIS Mobile records</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/sql-insert-after-trigger-not-working-correctly/m-p/183792#M776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you add a record to arcgis mobile then synchronise it, it appears you aren't getting a proper insert after event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;inserted&lt;/SPAN&gt;&lt;SPAN&gt; record doesn't have any geometry.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add the point in ArcMap it all works like it should with the geometry existing in &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;inserted&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be that the geometry is added after the initial insert in an update?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No versioning involved here.&amp;nbsp; ArcGIS Mobile 10.1.1 and Server 10.1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 21:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/sql-insert-after-trigger-not-working-correctly/m-p/183792#M776</guid>
      <dc:creator>PeterTimmers</dc:creator>
      <dc:date>2013-09-23T21:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Insert After Trigger not working correctly with inserted ArcGIS Mobile record</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/sql-insert-after-trigger-not-working-correctly/m-p/183793#M777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is just a guess but it seems like you are not creating the features in your Mobile App correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe there is something wrong with your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How about making a mobile project using the Project Center and creating quick test application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do this quite often to test new features with certain feature classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I personally don't register my feature classes as versioned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I sync I have no problems. However, I am still using ArcGIS 10.0. We have some plans in the future to move to 10.1 or 10.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 14:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/sql-insert-after-trigger-not-working-correctly/m-p/183793#M777</guid>
      <dc:creator>AkhilParujanwala</dc:creator>
      <dc:date>2013-09-25T14:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Insert After Trigger not working correctly with inserted ArcGIS Mobile record</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/sql-insert-after-trigger-not-working-correctly/m-p/183794#M778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well I solved it in the end by having both an insert and update after trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I can see ArcGIS Mobile inserts a row, but then adds the data in a seperate step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to use the insert after to make a new row in the second table, copy the globalid across so I could do a join back when the update comes through so I could do an update after and copy the data across.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems to work smoothly.&amp;nbsp; If anyone knows a better way please tell me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 21:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/sql-insert-after-trigger-not-working-correctly/m-p/183794#M778</guid>
      <dc:creator>PeterTimmers</dc:creator>
      <dc:date>2013-09-25T21:13:39Z</dc:date>
    </item>
  </channel>
</rss>

