<?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 Custom MMPK and null solveRouteResult route startTime in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-mmpk-and-null-solverouteresult-route/m-p/2695#M20</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #242729; background-color: #f9f8f6; border: 0px; padding: 0px 16px 0px 0px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 0px 0px 5px;"&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;I 've created an mmpk file of a network dataset using ArcGIS Pro v1.2. This file is consumed in an arcgis runtime WPF application for routing purposes. Everything works ok except for the &amp;lt;&amp;lt;route.StartTime&amp;gt;&amp;gt; which is always null. I am not facing the same issue when i use an mmpk file obtained from ESRI. This leads me to the assumption that something is wrong with my mmpk file. The code apart from that works perfectly.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Below are some explanatory parts of my code.&lt;/P&gt;&lt;PRE style="background-color: var(--black-050); border: 0px; font-weight: inherit; margin: 0px 0px 1em; padding: 12px 8px;"&gt;&lt;CODE style="background-color: transparent; border: 0px; font-weight: inherit;"&gt;solveRouteTask = await RouteTask.CreateAsync(_transportationNetwork); routeParameters = await solveRouteTask.CreateDefaultParametersAsync(); routeParameters.StartTime = DateTime.Now; solveRouteResult = await solveRouteTask.SolveRouteAsync(routeParameters);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;I 've attached an screeshot where time format is shown. Can anyone suggest me a solution?&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;&lt;IMG __jive_id="497505" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497505_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2020 10:34:37 GMT</pubDate>
    <dc:creator>SOTIRIOSTRIANTOS</dc:creator>
    <dc:date>2020-06-23T10:34:37Z</dc:date>
    <item>
      <title>Custom MMPK and null solveRouteResult route startTime</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-mmpk-and-null-solverouteresult-route/m-p/2695#M20</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #242729; background-color: #f9f8f6; border: 0px; padding: 0px 16px 0px 0px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 0px 0px 5px;"&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;I 've created an mmpk file of a network dataset using ArcGIS Pro v1.2. This file is consumed in an arcgis runtime WPF application for routing purposes. Everything works ok except for the &amp;lt;&amp;lt;route.StartTime&amp;gt;&amp;gt; which is always null. I am not facing the same issue when i use an mmpk file obtained from ESRI. This leads me to the assumption that something is wrong with my mmpk file. The code apart from that works perfectly.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Below are some explanatory parts of my code.&lt;/P&gt;&lt;PRE style="background-color: var(--black-050); border: 0px; font-weight: inherit; margin: 0px 0px 1em; padding: 12px 8px;"&gt;&lt;CODE style="background-color: transparent; border: 0px; font-weight: inherit;"&gt;solveRouteTask = await RouteTask.CreateAsync(_transportationNetwork); routeParameters = await solveRouteTask.CreateDefaultParametersAsync(); routeParameters.StartTime = DateTime.Now; solveRouteResult = await solveRouteTask.SolveRouteAsync(routeParameters);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;I 've attached an screeshot where time format is shown. Can anyone suggest me a solution?&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;&lt;IMG __jive_id="497505" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497505_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 10:34:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-mmpk-and-null-solverouteresult-route/m-p/2695#M20</guid>
      <dc:creator>SOTIRIOSTRIANTOS</dc:creator>
      <dc:date>2020-06-23T10:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MMPK and null solveRouteResult route startTime</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-mmpk-and-null-solverouteresult-route/m-p/2696#M21</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to update to the latest version of ArcGIS Pro (2.5.1) and retest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 16:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-mmpk-and-null-solverouteresult-route/m-p/2696#M21</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-23T16:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MMPK and null solveRouteResult route startTime</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-mmpk-and-null-solverouteresult-route/m-p/1008621#M9616</link>
      <description>&lt;P&gt;hi there i updated to the latest version (2.6) but the issue remains, any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 19:17:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-mmpk-and-null-solverouteresult-route/m-p/1008621#M9616</guid>
      <dc:creator>SOTIRIOSTRIANTOS</dc:creator>
      <dc:date>2020-12-10T19:17:38Z</dc:date>
    </item>
  </channel>
</rss>

