<?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 Updating blob fields in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/updating-blob-fields/m-p/228812#M5805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The question is simple:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I update a blob field via a Feature Service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried assigning a byte array to the graphic's blob attribute, but it returned an error when applying the edits:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {"error":{"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["Unable to apply edits"]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The server's log shows the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 ApplyEdits has completed. 2012-06-02 08:14:34 17022 0.00988 66844 GraphicFeatureServer.ApplyEdits &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 Error while creating Insert Cursor for Table: BlobTable. 2012-06-02 08:14:34 17002&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureLayer.Add &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 Updated Feature/ Object with ObjectID: 4 in Layer/ Table: BlobTable. 2012-06-02 08:14:34 17002&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureLayer.Update &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 Deleted 0 rows in Layer/ Table: BlobTable. 2012-06-02 08:14:34 17002&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureLayer.DeleteByID &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO2 ApplyEdits has started. 2012-06-02 08:14:34 17021&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureServer.ApplyEdits &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I find odd that it actually breaks in the insert cursor, given that what I sent was a single update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that an alternative is to use attachments, or even a geoprocessing service, but it'd be more practical if I can do it directly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Orlando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2012 13:41:36 GMT</pubDate>
    <dc:creator>OrlandoCarvajal</dc:creator>
    <dc:date>2012-06-04T13:41:36Z</dc:date>
    <item>
      <title>Updating blob fields</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/updating-blob-fields/m-p/228812#M5805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The question is simple:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I update a blob field via a Feature Service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried assigning a byte array to the graphic's blob attribute, but it returned an error when applying the edits:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {"error":{"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["Unable to apply edits"]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The server's log shows the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 ApplyEdits has completed. 2012-06-02 08:14:34 17022 0.00988 66844 GraphicFeatureServer.ApplyEdits &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 Error while creating Insert Cursor for Table: BlobTable. 2012-06-02 08:14:34 17002&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureLayer.Add &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 Updated Feature/ Object with ObjectID: 4 in Layer/ Table: BlobTable. 2012-06-02 08:14:34 17002&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureLayer.Update &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO3 Deleted 0 rows in Layer/ Table: BlobTable. 2012-06-02 08:14:34 17002&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureLayer.DeleteByID &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO2 ApplyEdits has started. 2012-06-02 08:14:34 17021&amp;nbsp;&amp;nbsp; 66844 GraphicFeatureServer.ApplyEdits &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I find odd that it actually breaks in the insert cursor, given that what I sent was a single update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that an alternative is to use attachments, or even a geoprocessing service, but it'd be more practical if I can do it directly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Orlando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/updating-blob-fields/m-p/228812#M5805</guid>
      <dc:creator>OrlandoCarvajal</dc:creator>
      <dc:date>2012-06-04T13:41:36Z</dc:date>
    </item>
  </channel>
</rss>

