<?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 Send excel in parameter to a geoprocess in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/send-excel-in-parameter-to-a-geoprocess/m-p/267310#M6966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've managed to create a working ArcGIS Model service and now I'm trying to use it in my silverlight application. The model uses a geoprocessing tool that needs a Feature set (a shp layer) and a Record set (expected to be an excel file). I'm trying to add this parameters in my development like it's done in the message in a bottle sample (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MessageInABottle"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MessageInABottle&lt;/A&gt;&lt;SPAN&gt;), but I don't know how to convert the data in the excel to the FeatureSet that it's asking me for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I in the right way or I'm making this overly complicated?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2013 06:15:49 GMT</pubDate>
    <dc:creator>IkerBerasaluce</dc:creator>
    <dc:date>2013-02-01T06:15:49Z</dc:date>
    <item>
      <title>Send excel in parameter to a geoprocess</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/send-excel-in-parameter-to-a-geoprocess/m-p/267310#M6966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've managed to create a working ArcGIS Model service and now I'm trying to use it in my silverlight application. The model uses a geoprocessing tool that needs a Feature set (a shp layer) and a Record set (expected to be an excel file). I'm trying to add this parameters in my development like it's done in the message in a bottle sample (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MessageInABottle"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MessageInABottle&lt;/A&gt;&lt;SPAN&gt;), but I don't know how to convert the data in the excel to the FeatureSet that it's asking me for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I in the right way or I'm making this overly complicated?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 06:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/send-excel-in-parameter-to-a-geoprocess/m-p/267310#M6966</guid>
      <dc:creator>IkerBerasaluce</dc:creator>
      <dc:date>2013-02-01T06:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Send excel in parameter to a geoprocess</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/send-excel-in-parameter-to-a-geoprocess/m-p/267311#M6967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a way of sending the excel information in a string variable ins this page &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/rest/index.html?gpsubmit.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/rest/index.html?gpsubmit.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the code I'm using right now, I will make a loop once I my geoprocessing task works properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;strExcel = "{ " &amp;amp; _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "'features'&amp;nbsp; : [ " &amp;amp; _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "{ " &amp;amp; _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " 'attributes' : {'Header1' : 'Data1', 'Header2' : Data2, 'Header3' : Data3} " &amp;amp; _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "} " &amp;amp; _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "} " &amp;amp; _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "} "

parameters.Add(New GPRecordSet("Excel", strExcel))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps somebody.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:06:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/send-excel-in-parameter-to-a-geoprocess/m-p/267311#M6967</guid>
      <dc:creator>IkerBerasaluce</dc:creator>
      <dc:date>2021-12-11T13:06:23Z</dc:date>
    </item>
  </channel>
</rss>

