<?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 Arcpy.mp map series query layer attribute in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-mp-map-series-query-layer-attribute/m-p/1107572#M46692</link>
    <description>&lt;P&gt;Noob python question here. I have a spatial map series active on a layout and am using arcpy.mp to automate some mapping functions. I am trying to query an attribute from the index layer to store as variable in my loop. I am testing this outside the loop now and am having trouble returning the attribute value. What is the mapping function used to return a specific attribute from the index layer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;l = aprx.listLayouts("img_ov_in*")[0]&lt;BR /&gt;ms = l.mapSeries&lt;BR /&gt;indexLyr = ms.indexLayer&lt;/P&gt;&lt;P&gt;atr = indexlyr.???('overview_image_dir')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 16:20:02 GMT</pubDate>
    <dc:creator>TimothyMcKinney</dc:creator>
    <dc:date>2021-10-14T16:20:02Z</dc:date>
    <item>
      <title>Arcpy.mp map series query layer attribute</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-mp-map-series-query-layer-attribute/m-p/1107572#M46692</link>
      <description>&lt;P&gt;Noob python question here. I have a spatial map series active on a layout and am using arcpy.mp to automate some mapping functions. I am trying to query an attribute from the index layer to store as variable in my loop. I am testing this outside the loop now and am having trouble returning the attribute value. What is the mapping function used to return a specific attribute from the index layer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;l = aprx.listLayouts("img_ov_in*")[0]&lt;BR /&gt;ms = l.mapSeries&lt;BR /&gt;indexLyr = ms.indexLayer&lt;/P&gt;&lt;P&gt;atr = indexlyr.???('overview_image_dir')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 16:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-mp-map-series-query-layer-attribute/m-p/1107572#M46692</guid>
      <dc:creator>TimothyMcKinney</dc:creator>
      <dc:date>2021-10-14T16:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy.mp map series query layer attribute</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-mp-map-series-query-layer-attribute/m-p/1108204#M46787</link>
      <description>&lt;P&gt;possibly pageRow.yourFieldName&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/mapseries-class.htm" target="_blank"&gt;MapSeries—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ms.pageRow.overview_image_dir&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 16 Oct 2021 20:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-mp-map-series-query-layer-attribute/m-p/1108204#M46787</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-10-16T20:42:28Z</dc:date>
    </item>
  </channel>
</rss>

