<?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: Render based on time in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/render-based-on-time/m-p/1174291#M11003</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;If you are using a published feature layer, this can be achieved by setting VisualVariables&amp;nbsp; on the layer before publishing the layer. VisualVariable info gets baked into layer's renderer info. For more info please refer to ArcGIS Pro documentation on how to achieve this&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/vary-symbology-by-color.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/vary-symbology-by-color.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once you apply the visual variable on the layer renderer, the color will get dynamically calculated based on the expression and runtime will honor the color based on expression at render time . Currently there is no API to update or set these dynamic visual variable via Runtime SDKs. Hopefully sometime in near future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If `Today` is not a dynamic value then you can achieve this via Runtime SDK by setting a UniqueValueRenderer, but looking at your use case it looks like that `TODAY` is perhaps a dynamic value that changes everyday.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 18:36:14 GMT</pubDate>
    <dc:creator>PreetiMaske</dc:creator>
    <dc:date>2022-05-16T18:36:14Z</dc:date>
    <item>
      <title>Render based on time</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/render-based-on-time/m-p/1174033#M11001</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to display symbol depending of a date.&lt;/P&gt;&lt;P&gt;If the date &amp;gt; TODAY =&amp;gt; symbol Red&lt;/P&gt;&lt;P&gt;if the date &amp;lt;= TODAY&amp;nbsp; =&amp;gt; symbol Blue&lt;/P&gt;&lt;P&gt;if the date &amp;lt; TODAY&amp;nbsp; - 2 YEARS =&amp;gt; symbol Yellow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an idea, how to implement that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2022 21:53:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/render-based-on-time/m-p/1174033#M11001</guid>
      <dc:creator>JérômeDuckers</dc:creator>
      <dc:date>2022-05-15T21:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Render based on time</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/render-based-on-time/m-p/1174291#M11003</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;If you are using a published feature layer, this can be achieved by setting VisualVariables&amp;nbsp; on the layer before publishing the layer. VisualVariable info gets baked into layer's renderer info. For more info please refer to ArcGIS Pro documentation on how to achieve this&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/vary-symbology-by-color.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/vary-symbology-by-color.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once you apply the visual variable on the layer renderer, the color will get dynamically calculated based on the expression and runtime will honor the color based on expression at render time . Currently there is no API to update or set these dynamic visual variable via Runtime SDKs. Hopefully sometime in near future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If `Today` is not a dynamic value then you can achieve this via Runtime SDK by setting a UniqueValueRenderer, but looking at your use case it looks like that `TODAY` is perhaps a dynamic value that changes everyday.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 18:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/render-based-on-time/m-p/1174291#M11003</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2022-05-16T18:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Render based on time</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/render-based-on-time/m-p/1175457#M11010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response, indeed, I will process the feature in arcgis pro, adding a new column.&lt;/P&gt;&lt;P&gt;Then I can use the UniqueValueRenderer .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Jérôme.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 07:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/render-based-on-time/m-p/1175457#M11010</guid>
      <dc:creator>JérômeDuckers</dc:creator>
      <dc:date>2022-05-19T07:29:43Z</dc:date>
    </item>
  </channel>
</rss>

