<?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: Export to CSV Attributes Shifted Fields in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143715#M409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I extracted the dll's from viewer.xap file.&amp;nbsp; Then used reflection to locate the ExportSelectionCommand code.&amp;nbsp; I then created a new project and implement the original ExportSelectionFixedCommand object and overrode the Execute method with the fixed code.&amp;nbsp; And then added the coded value domain lookup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 13:29:05 GMT</pubDate>
    <dc:creator>JosiahThoen</dc:creator>
    <dc:date>2013-05-17T13:29:05Z</dc:date>
    <item>
      <title>Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143710#M404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24138[/ATTACH] [ATTACH=CONFIG]24137[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using the Export Selection to CSV tool included with the Silverlight Viewer, the resulting data in the CSV file is being shifted into the wrong fields (see screenshots). The 'District Code' field (the field that should contain 'I-2', 'RS-1', etc) is a short integer subtype field, and I'm wondering if that is somehow causing the problem. Also note, 'Zone District' and 'Zone Subdistrict' have default values that are dependent on the subtype field. Has anyone else run into this problem? Am I doing something wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 18:49:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143710#M404</guid>
      <dc:creator>NicholasGross</dc:creator>
      <dc:date>2013-05-08T18:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143711#M405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I noticed this a few months ago.&amp;nbsp; This is certainly a bug.&amp;nbsp; Based on the tests I have done, NULL values give problems.&amp;nbsp; There is no way we can guarantee not having NULL values.&amp;nbsp; Hopefully this problem is fixed soon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 20:31:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143711#M405</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-05-13T20:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143712#M406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Bleroux&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I too have run into this issue and it is the Null values as Ian has mentioned. I was able to work around this with my data by modifying my SQL that loads my tables to replace Nulls with some other value (0s or N/As).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 18:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143712#M406</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-15T18:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143713#M407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I went through the code and it appears that when an empty field value is found a comma is appended to the cvs header row instead of the current records row.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the source code: &lt;/SPAN&gt;&lt;A href="https://bitbucket.org/jdtblt/arcgis-fixedexportselectioncommand"&gt;https://bitbucket.org/jdtblt/arcgis-fixedexportselectioncommand&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the addin: &lt;/SPAN&gt;&lt;A href="https://bitbucket.org/jdtblt/arcgis-fixedexportselectioncommand/downloads"&gt;https://bitbucket.org/jdtblt/arcgis-fixedexportselectioncommand/downloads&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add like any other addin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tools.xml &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add the namespace: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;xmlns:FixedExportSelectionCommand="clr-namespace:FixedExportSelectionCommand.AddIns;assembly=FixedExportSelectionCommand.AddIns" &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;update the tool code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&amp;lt;Tool Label="Export Selection"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Icon="Images/toolbar/ExportSelectionCommand16.png"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description="Export the attributes of selected features to a CSV file"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Tool.Class&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FixedExportSelectionCommand:ExportSelectionFixedCommand&amp;nbsp; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Tool.Class&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Tool&amp;gt;[/HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Application.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the extension: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;Extension Url="Extensions/FixedExportSelectionCommand.AddIns.xap" /&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 18:59:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143713#M407</guid>
      <dc:creator>JosiahThoen</dc:creator>
      <dc:date>2013-05-15T18:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143714#M408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Bleroux&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Josiah- Out of curiosity, where did you get the source code for this? Also doesn't seem like you have anything to download but a readme file. Unless I am doing something worng.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 19:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143714#M408</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-15T19:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143715#M409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I extracted the dll's from viewer.xap file.&amp;nbsp; Then used reflection to locate the ExportSelectionCommand code.&amp;nbsp; I then created a new project and implement the original ExportSelectionFixedCommand object and overrode the Execute method with the fixed code.&amp;nbsp; And then added the coded value domain lookup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 13:29:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143715#M409</guid>
      <dc:creator>JosiahThoen</dc:creator>
      <dc:date>2013-05-17T13:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143716#M410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: winsleav&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Worked perfectly- thank you. I was trying to find a fix on my own. You just saved me a ton of time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 18:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143716#M410</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-22T18:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143717#M411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Downloaded and used the code. Works great. Cannot go back to back exports more if desired. i.e. Select 10 features and export to CSV. Clear Selection and select 10 more features and export to CSV causes "Error saving file". The file gets created but with 0 size and is empty. This does not happen with in the original Export to CSV code. Tried changing selection to different layers between exports and it doesn't fix the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 13:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143717#M411</guid>
      <dc:creator>StevePickens</dc:creator>
      <dc:date>2013-10-09T13:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143718#M412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: rzwaap&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI, this bug is due to be fixed at the upcoming 3.2 release.&amp;nbsp; Sorry for the inconvenience.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 18:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143718#M412</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-10-11T18:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV Attributes Shifted Fields</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143719#M413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Version 3.2 has been released and includes a fix for this issue.&amp;nbsp; You can download it from the &lt;/SPAN&gt;&lt;A href="http://links.esri.com/silverlightviewer"&gt;Resource Center&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 00:14:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/export-to-csv-attributes-shifted-fields/m-p/143719#M413</guid>
      <dc:creator>RichZwaap</dc:creator>
      <dc:date>2013-12-07T00:14:10Z</dc:date>
    </item>
  </channel>
</rss>

