<?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 Can a GP service return BLOB data in a GPFeatureRecordSetLayer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-gp-service-return-blob-data-in-a/m-p/720987#M66910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a complex published GP web service that processes a lot of data. To reduce the complexity of processing on the returned data i would like to add some additional geometry information in a 'BUFFER' BLOB field i add on the RecordSet that is returned by the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My model adds and populates the BLOB field just fine (results in desktop run of model show it added) but I don't see any way to get at the resulting BLOB data in the JavaScript API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'm thinking that this is not supported on this return type?? If not what should i be using for the return parameter type?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter definition looks like this (removed some items for clarity).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Parameter:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;cheapest_routes&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Data Type:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;GPFeatureRecordSetLayer&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Display Name&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Cheapest Route Results&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM style="color: #303030; font-size: 8pt;"&gt;Direction:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;esriGPParameterDirectionOutput&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Geometry Type:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;esriGeometryPolyline&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Parameter Type:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;esriGPParameterTypeDerived&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting JSON from the call looks like this. The fields list includes 'BUFFER' but there is nothing accessible via attributes on the feature (not that i would necessarily expect it there being of type BLOB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;{"paramName":"cheapest_routes","dataType":"GPFeatureRecordSetLayer","value":{"displayFieldName":"","geometryType":"esriGeometryPolyline","spatialReference":{"wkid":102100,"latestWkid":3857},"fields":[{"name":"OBJECTID","type":"esriFieldTypeOID","alias":"OBJECTID"},{"name":"FacilityID","type":"esriFieldTypeInteger","alias":"FacilityID"},{"name":"FacilityRank","type":"esriFieldTypeInteger","alias":"FacilityRank"},{"name":"Name","type":"esriFieldTypeString","alias":"Name","length":128},{"name":"IncidentCurbApproach","type":"esriFieldTypeInteger","alias":"IncidentCurbApproach"},{"name":"FacilityCurbApproach","type":"esriFieldTypeInteger","alias":"FacilityCurbApproach"},{"name":"IncidentID","type":"esriFieldTypeInteger","alias":"IncidentID"},{"name":"Total_Feet","type":"esriFieldTypeDouble","alias":"Total_Feet"},{"name":"ROUTE_LENGTH","type":"esriFieldTypeDouble","alias":"ROUTE_LENGTH"},{"name":"REGION_LENGTHS","type":"esriFieldTypeString","alias":"REGION_LENGTHS","length":255},{"name":"REGION_COSTS","type":"esriFieldTypeString","alias":"REGION_COSTS","length":255},{"name":"TOTAL_COST","type":"esriFieldTypeDouble","alias":"TOTAL_COST"},{"name":"BUSINESS_COUNT","type":"esriFieldTypeInteger","alias":"BUSINESS_COUNT"},&lt;STRONG&gt;{"name":"BUFFER","type":"esriFieldTypeBlob","alias":"BUFFER"},&lt;/STRONG&gt;{"name":"Shape_Length","type":"esriFieldTypeDouble","alias":"Shape_Length"}],"features":[{"attributes":{"OBJECTID":1,"FacilityID":223,"FacilityRank":1,"Name":"1 - Fiber Equipment_52","IncidentCurbApproach":2,"FacilityCurbApproach":2,"IncidentID":2,"Total_Feet":4509.8375642549054,"ROUTE_LENGTH":155.05697297572786,"REGION_LENGTHS":"155","REGION_COSTS":"5","TOTAL_COST":775,"BUSINESS_COUNT":12,"Shape_Length":47.261365363001858},"geometry":{"paths":[[[-9660317.6412000004,4323080.7396000028],[-9660325.6509000007,4323095.3488000035],[-9660285.8285000008,4323117.2961999997]]]}}],"exceededTransferLimit":false}}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 18:54:24 GMT</pubDate>
    <dc:creator>MarkReddick</dc:creator>
    <dc:date>2016-06-01T18:54:24Z</dc:date>
    <item>
      <title>Can a GP service return BLOB data in a GPFeatureRecordSetLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-gp-service-return-blob-data-in-a/m-p/720987#M66910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a complex published GP web service that processes a lot of data. To reduce the complexity of processing on the returned data i would like to add some additional geometry information in a 'BUFFER' BLOB field i add on the RecordSet that is returned by the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My model adds and populates the BLOB field just fine (results in desktop run of model show it added) but I don't see any way to get at the resulting BLOB data in the JavaScript API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'm thinking that this is not supported on this return type?? If not what should i be using for the return parameter type?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter definition looks like this (removed some items for clarity).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Parameter:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;cheapest_routes&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Data Type:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;GPFeatureRecordSetLayer&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Display Name&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Cheapest Route Results&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM style="color: #303030; font-size: 8pt;"&gt;Direction:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;esriGPParameterDirectionOutput&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Geometry Type:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;esriGeometryPolyline&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;Parameter Type:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #303030;"&gt;&lt;EM style="font-size: 8pt;"&gt;esriGPParameterTypeDerived&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting JSON from the call looks like this. The fields list includes 'BUFFER' but there is nothing accessible via attributes on the feature (not that i would necessarily expect it there being of type BLOB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;{"paramName":"cheapest_routes","dataType":"GPFeatureRecordSetLayer","value":{"displayFieldName":"","geometryType":"esriGeometryPolyline","spatialReference":{"wkid":102100,"latestWkid":3857},"fields":[{"name":"OBJECTID","type":"esriFieldTypeOID","alias":"OBJECTID"},{"name":"FacilityID","type":"esriFieldTypeInteger","alias":"FacilityID"},{"name":"FacilityRank","type":"esriFieldTypeInteger","alias":"FacilityRank"},{"name":"Name","type":"esriFieldTypeString","alias":"Name","length":128},{"name":"IncidentCurbApproach","type":"esriFieldTypeInteger","alias":"IncidentCurbApproach"},{"name":"FacilityCurbApproach","type":"esriFieldTypeInteger","alias":"FacilityCurbApproach"},{"name":"IncidentID","type":"esriFieldTypeInteger","alias":"IncidentID"},{"name":"Total_Feet","type":"esriFieldTypeDouble","alias":"Total_Feet"},{"name":"ROUTE_LENGTH","type":"esriFieldTypeDouble","alias":"ROUTE_LENGTH"},{"name":"REGION_LENGTHS","type":"esriFieldTypeString","alias":"REGION_LENGTHS","length":255},{"name":"REGION_COSTS","type":"esriFieldTypeString","alias":"REGION_COSTS","length":255},{"name":"TOTAL_COST","type":"esriFieldTypeDouble","alias":"TOTAL_COST"},{"name":"BUSINESS_COUNT","type":"esriFieldTypeInteger","alias":"BUSINESS_COUNT"},&lt;STRONG&gt;{"name":"BUFFER","type":"esriFieldTypeBlob","alias":"BUFFER"},&lt;/STRONG&gt;{"name":"Shape_Length","type":"esriFieldTypeDouble","alias":"Shape_Length"}],"features":[{"attributes":{"OBJECTID":1,"FacilityID":223,"FacilityRank":1,"Name":"1 - Fiber Equipment_52","IncidentCurbApproach":2,"FacilityCurbApproach":2,"IncidentID":2,"Total_Feet":4509.8375642549054,"ROUTE_LENGTH":155.05697297572786,"REGION_LENGTHS":"155","REGION_COSTS":"5","TOTAL_COST":775,"BUSINESS_COUNT":12,"Shape_Length":47.261365363001858},"geometry":{"paths":[[[-9660317.6412000004,4323080.7396000028],[-9660325.6509000007,4323095.3488000035],[-9660285.8285000008,4323117.2961999997]]]}}],"exceededTransferLimit":false}}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 18:54:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-gp-service-return-blob-data-in-a/m-p/720987#M66910</guid>
      <dc:creator>MarkReddick</dc:creator>
      <dc:date>2016-06-01T18:54:24Z</dc:date>
    </item>
  </channel>
</rss>

