<?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 mapview.selectlegendclasses (mapview select legend classes) in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapview-selectlegendclasses-mapview-select-legend/m-p/1076242#M6836</link>
    <description>&lt;P&gt;I need to automatically select the corresponding legend class in the TOC after executing an automated definition query on a feature class.&lt;/P&gt;&lt;P&gt;SDK reference is here with no examples:&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11994.html" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11994.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have the legend class value stored as a string, something like FY = '2021.'&lt;/P&gt;&lt;P&gt;The user selects an FY value from a pull-down that automatically applies a definition query to the feature class.&amp;nbsp; I want to select the corresponding FY value in the TOC using mapview.selectlegendclasses method, but I don't know how to set up the argument from my string value.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 12:52:13 GMT</pubDate>
    <dc:creator>MikeRatcliffe</dc:creator>
    <dc:date>2021-07-07T12:52:13Z</dc:date>
    <item>
      <title>mapview.selectlegendclasses (mapview select legend classes)</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapview-selectlegendclasses-mapview-select-legend/m-p/1076242#M6836</link>
      <description>&lt;P&gt;I need to automatically select the corresponding legend class in the TOC after executing an automated definition query on a feature class.&lt;/P&gt;&lt;P&gt;SDK reference is here with no examples:&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11994.html" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11994.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have the legend class value stored as a string, something like FY = '2021.'&lt;/P&gt;&lt;P&gt;The user selects an FY value from a pull-down that automatically applies a definition query to the feature class.&amp;nbsp; I want to select the corresponding FY value in the TOC using mapview.selectlegendclasses method, but I don't know how to set up the argument from my string value.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 12:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapview-selectlegendclasses-mapview-select-legend/m-p/1076242#M6836</guid>
      <dc:creator>MikeRatcliffe</dc:creator>
      <dc:date>2021-07-07T12:52:13Z</dc:date>
    </item>
  </channel>
</rss>

