<?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 GPFeatureRecordSetLayer using URI in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/gpfeaturerecordsetlayer-using-uri/m-p/617322#M7565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;creating several GPKs for use in my Runtime application. Some of these GPKs take an input that is a &lt;A href="https://developers.arcgis.com/net/desktop/api-reference/html/T_Esri_ArcGISRuntime_Tasks_Geoprocessing_GPFeatureRecordSetLayer.htm" title="https://developers.arcgis.com/net/desktop/api-reference/html/T_Esri_ArcGISRuntime_Tasks_Geoprocessing_GPFeatureRecordSetLayer.htm"&gt;GPFeatureRecordSetLayer Class&lt;/A&gt;&lt;SPAN&gt;. When I create the object with a Geometry or with a FeatureSet, the GPK completes successfully, so I know it works. But when I create the object with a URI it fails. My application is offline, so my only options for URI seem to be to either use sublayers of dynamic layers I have created using a LocalMapService (e.g. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F127.0.0.1%3A50001%2FJ4JMYd%2Farcgis%2Frest%2Fservices%2Fworldmap%2FMapServer%2F4" rel="nofollow" target="_blank"&gt;http://127.0.0.1:50001/J4JMYd/arcgis/rest/services/worldmap/MapServer/4&lt;/A&gt;&lt;SPAN&gt;) or to use a local path to a feature layer (e.g. file:///D:/shapefiles/world-cities.shp). Both of these options cause the task to fail without giving me any additional information.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;What is the proper way to use a GPFeatureRecordSetLayer with an offline URI value? Basically, how can I use an existing layer on my map as an input for the geoprocessing task?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 20:42:23 GMT</pubDate>
    <dc:creator>ChristinaKochan1</dc:creator>
    <dc:date>2015-11-12T20:42:23Z</dc:date>
    <item>
      <title>GPFeatureRecordSetLayer using URI</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/gpfeaturerecordsetlayer-using-uri/m-p/617322#M7565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;creating several GPKs for use in my Runtime application. Some of these GPKs take an input that is a &lt;A href="https://developers.arcgis.com/net/desktop/api-reference/html/T_Esri_ArcGISRuntime_Tasks_Geoprocessing_GPFeatureRecordSetLayer.htm" title="https://developers.arcgis.com/net/desktop/api-reference/html/T_Esri_ArcGISRuntime_Tasks_Geoprocessing_GPFeatureRecordSetLayer.htm"&gt;GPFeatureRecordSetLayer Class&lt;/A&gt;&lt;SPAN&gt;. When I create the object with a Geometry or with a FeatureSet, the GPK completes successfully, so I know it works. But when I create the object with a URI it fails. My application is offline, so my only options for URI seem to be to either use sublayers of dynamic layers I have created using a LocalMapService (e.g. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F127.0.0.1%3A50001%2FJ4JMYd%2Farcgis%2Frest%2Fservices%2Fworldmap%2FMapServer%2F4" rel="nofollow" target="_blank"&gt;http://127.0.0.1:50001/J4JMYd/arcgis/rest/services/worldmap/MapServer/4&lt;/A&gt;&lt;SPAN&gt;) or to use a local path to a feature layer (e.g. file:///D:/shapefiles/world-cities.shp). Both of these options cause the task to fail without giving me any additional information.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;What is the proper way to use a GPFeatureRecordSetLayer with an offline URI value? Basically, how can I use an existing layer on my map as an input for the geoprocessing task?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 20:42:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/gpfeaturerecordsetlayer-using-uri/m-p/617322#M7565</guid>
      <dc:creator>ChristinaKochan1</dc:creator>
      <dc:date>2015-11-12T20:42:23Z</dc:date>
    </item>
  </channel>
</rss>

