<?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 Re: How to Update Collected Data on Device in ArcGIS Collector Questions</title>
    <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231683#M4049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew -&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;If by cache/resync you mean tapping 'SYNC' again on the main collector page, the answer is yes and the field is not updated. I have even added new inspection and all the records are not showing the update.&amp;nbsp; I have also tapped 'refresh' from the menu and that doesn't update the records either.&amp;nbsp; The only way I can see the updated Field3 (per my example) is by removing the app (i.e. manage&amp;gt;remove) then loading the app again.&amp;nbsp; Which is an unacceptable workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2015 22:05:19 GMT</pubDate>
    <dc:creator>ThomasHasselbeck</dc:creator>
    <dc:date>2015-12-22T22:05:19Z</dc:date>
    <item>
      <title>How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231681#M4047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a collector inspection app that needs to calculate a 3rd field. It's not vital that the 3rd field is calculated in the field however the 3rd field does need to be seen if the asset is revisited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To simplify I have a table in a relationship class with the fields:&lt;/P&gt;&lt;P&gt;Field1, Field2 and Field3.&lt;/P&gt;&lt;P&gt;(Basically this was built following Jeff's Hydrant example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worker collects values: Field1 = 250 and Field2 = 50. Field3 is NOT collected (Field3 = 0)&lt;/P&gt;&lt;P&gt;Worker returns to office performs a sync, I setup an update trigger within SQL database that calculates Field3 = Field1- Field2 (in this example Field3 = 200)&lt;/P&gt;&lt;P&gt;When the data is viewed in Portal I see all the fields with correct data values.&lt;/P&gt;&lt;P&gt;The problem that I'm seeing is that the data(inspection record) on the device doesn't get updated to show that Field3 = 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way (at the moment) to see the updated values is if I removed the collector app and reload it on the device.&lt;/P&gt;&lt;P&gt;There has to be a way to see the updated values after my trigger is executed.&amp;nbsp; But I don't know how to "push" it back to the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody have any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 19:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231681#M4047</guid>
      <dc:creator>ThomasHasselbeck</dc:creator>
      <dc:date>2015-12-22T19:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231682#M4048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;Do you cache/resync the device after the field is calculated and updated in portal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231682#M4048</guid>
      <dc:creator>MatthewBaber</dc:creator>
      <dc:date>2015-12-22T21:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231683#M4049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew -&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;If by cache/resync you mean tapping 'SYNC' again on the main collector page, the answer is yes and the field is not updated. I have even added new inspection and all the records are not showing the update.&amp;nbsp; I have also tapped 'refresh' from the menu and that doesn't update the records either.&amp;nbsp; The only way I can see the updated Field3 (per my example) is by removing the app (i.e. manage&amp;gt;remove) then loading the app again.&amp;nbsp; Which is an unacceptable workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 22:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231683#M4049</guid>
      <dc:creator>ThomasHasselbeck</dc:creator>
      <dc:date>2015-12-22T22:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231684#M4050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;did you verify that geodatabase versioning isn't causing the behaviour you are seeing? In case this is versioned data, do you reconcile the data from the base table (where your SQL trigger updates Field3) with the version that Collector Sync's to&amp;amp;from before tapping 'Sync' in Collector?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 13:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231684#M4050</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-12-23T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231685#M4051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tobias -&lt;/P&gt;&lt;P&gt;Data was prepare per these instructions &lt;A href="http://server.arcgis.com/en/server/latest/publish-services/linux/prepare-data-for-offline-use.htm"&gt;here&lt;/A&gt;​.&lt;/P&gt;&lt;P&gt;To be clear: versioning is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:46:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231685#M4051</guid>
      <dc:creator>ThomasHasselbeck</dc:creator>
      <dc:date>2015-12-23T15:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231686#M4052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an idea: &lt;A href="https://desktop.arcgis.com/en/desktop/latest/manage-data/using-sql-with-gdbs/editing-nonversioned-geodatabase-data-in-sql-server-using-sql.htm" title="https://desktop.arcgis.com/en/desktop/latest/manage-data/using-sql-with-gdbs/editing-nonversioned-geodatabase-data-in-sql-server-using-sql.htm"&gt;Editing nonversioned geodatabase data in SQL Server using SQL—Help | ArcGIS for Desktop&lt;/A&gt;: "&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #ededed;"&gt;If the nonversioned table you want to edit using SQL is enabled for archiving, you must edit the table's archive view rather than the table itself."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 16:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231686#M4052</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-12-23T16:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231687#M4053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very interesting.&amp;nbsp; I have to say this article lead me to an error in my trigger.&amp;nbsp; I was incorrectly using the OBJECTID within my update trigger and it recalculated all the inspections for an asset, which populated previous inspections with incorrect values.&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;Most recent inspection 250 - 25 =&amp;gt; Field3 = 225&lt;/P&gt;&lt;P&gt;Previous inspection 250 - 50 =&amp;gt; Field3 = 200...however it was recalculated to 225 because the OBJECTID is the same.&amp;nbsp; By changing my code to use GDB_ACHIEVE_OID I was able to preserve previous inspections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the updated FIELD3 still won't show up on the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardless that article helped to some degree, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 18:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231687#M4053</guid>
      <dc:creator>ThomasHasselbeck</dc:creator>
      <dc:date>2015-12-23T18:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update Collected Data on Device</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231688#M4054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew -&lt;/P&gt;&lt;P&gt;Does collector work differently with data stored in a SQL database than say ArcMap or a webmap in portal does?&lt;/P&gt;&lt;P&gt;I have triggers set up on my SQL database (both in the table and view trigger folders) that fire when I do updates via ArcMap and through Portal but I can't get those triggers to fire when I make changes/updates using collector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suspicion is that both ArcMap and Portal work on the 'table' and collector is working on the 'view' but I can't seem to confirm this.&amp;nbsp; If I understood the logic on how Collector worked with the SQL database, I might be able to solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you time&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 18:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/how-to-update-collected-data-on-device/m-p/231688#M4054</guid>
      <dc:creator>ThomasHasselbeck</dc:creator>
      <dc:date>2016-01-19T18:06:27Z</dc:date>
    </item>
  </channel>
</rss>

