<?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: problem with Field Mapping syntax in Pro 2.5 in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/problem-with-field-mapping-syntax-in-pro-2-5/m-p/425952#M4037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, thanks, I had seen this documentation but it wasn't entirely clear.&amp;nbsp; Looking at it again I found my error when using it:&lt;/P&gt;&lt;P&gt;I had tried to use the mappedFieldname and got an error, but now see that the "Name" in the example is the field name&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;field_mappings_origins[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"Name"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;].defaultValue = &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"Origen"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN style="color: #000000;"&gt;which wasn't clear before. It still seems there should be a way to have a list rather than having to specify the value of the fields, one at a time.&amp;nbsp; Or maybe I missed that in the docs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2020 20:04:06 GMT</pubDate>
    <dc:creator>jacquelinewillan1</dc:creator>
    <dc:date>2020-08-20T20:04:06Z</dc:date>
    <item>
      <title>problem with Field Mapping syntax in Pro 2.5</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/problem-with-field-mapping-syntax-in-pro-2-5/m-p/425950#M4035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm having problem with the syntax for field mappings, using Pro 2.5.&amp;nbsp; I've tried:&lt;/P&gt;&lt;P&gt;PointBarriers = a point feature class&lt;/P&gt;&lt;P&gt;route = arcpy.nax.Route(NDLayerName)&lt;/P&gt;&lt;P&gt;pointFieldMappings = "BarrierType 0;CurbApproach 0;FullEdge 0"&lt;/P&gt;&lt;P&gt;route.load(arcpy.nax.RouteInputDataType.PointBarriers, PointBarriers,pointFieldMappings)&lt;/P&gt;&lt;P&gt;Thanks for help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 19:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/problem-with-field-mapping-syntax-in-pro-2-5/m-p/425950#M4035</guid>
      <dc:creator>jacquelinewillan1</dc:creator>
      <dc:date>2020-08-20T19:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Field Mapping syntax in Pro 2.5</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/problem-with-field-mapping-syntax-in-pro-2-5/m-p/425951#M4036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As described in the documentation for the Route solver object, you need to use an &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/network-analyst/naclassfieldmappings-nax.htm"&gt;NAClassFieldMappings&lt;/A&gt; object, which is made up of &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/network-analyst/naclassfieldmap-nax.htm"&gt;NAClassFieldMap objects&lt;/A&gt;.&amp;nbsp; That documentation contains several examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 19:44:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/problem-with-field-mapping-syntax-in-pro-2-5/m-p/425951#M4036</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2020-08-20T19:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Field Mapping syntax in Pro 2.5</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/problem-with-field-mapping-syntax-in-pro-2-5/m-p/425952#M4037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, thanks, I had seen this documentation but it wasn't entirely clear.&amp;nbsp; Looking at it again I found my error when using it:&lt;/P&gt;&lt;P&gt;I had tried to use the mappedFieldname and got an error, but now see that the "Name" in the example is the field name&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;field_mappings_origins[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"Name"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;].defaultValue = &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"Origen"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN style="color: #000000;"&gt;which wasn't clear before. It still seems there should be a way to have a list rather than having to specify the value of the fields, one at a time.&amp;nbsp; Or maybe I missed that in the docs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 20:04:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/problem-with-field-mapping-syntax-in-pro-2-5/m-p/425952#M4037</guid>
      <dc:creator>jacquelinewillan1</dc:creator>
      <dc:date>2020-08-20T20:04:06Z</dc:date>
    </item>
  </channel>
</rss>

