<?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>idea Ability to access the Popup Object in ArcPy (ArcGIS Pro) in Python Ideas</title>
    <link>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idi-p/1041413</link>
    <description>&lt;P&gt;There is a need to be able to access and edit the Popup Object in ArcPy to:&lt;BR /&gt;&lt;BR /&gt;1. Toggle the Popup on and off&lt;/P&gt;&lt;P&gt;2. Set expressions for the text&lt;/P&gt;&lt;P&gt;Some of this can be achieved via ApplySymbobologyFromLayer but the&amp;nbsp;&lt;STRONG&gt;"showPopups" : false, &lt;/STRONG&gt;setting does not seem to be honoured at the moment.&lt;BR /&gt;&lt;BR /&gt;See also:&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/arcypy-custom-pop-ups/m-p/538954" target="_blank"&gt;https://community.esri.com/t5/python-questions/arcypy-custom-pop-ups/m-p/538954&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Mar 2021 02:36:03 GMT</pubDate>
    <dc:creator>LeandraGordon</dc:creator>
    <dc:date>2021-03-29T02:36:03Z</dc:date>
    <item>
      <title>Ability to access the Popup Object in ArcPy (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idi-p/1041413</link>
      <description>&lt;P&gt;There is a need to be able to access and edit the Popup Object in ArcPy to:&lt;BR /&gt;&lt;BR /&gt;1. Toggle the Popup on and off&lt;/P&gt;&lt;P&gt;2. Set expressions for the text&lt;/P&gt;&lt;P&gt;Some of this can be achieved via ApplySymbobologyFromLayer but the&amp;nbsp;&lt;STRONG&gt;"showPopups" : false, &lt;/STRONG&gt;setting does not seem to be honoured at the moment.&lt;BR /&gt;&lt;BR /&gt;See also:&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/arcypy-custom-pop-ups/m-p/538954" target="_blank"&gt;https://community.esri.com/t5/python-questions/arcypy-custom-pop-ups/m-p/538954&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 02:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idi-p/1041413</guid>
      <dc:creator>LeandraGordon</dc:creator>
      <dc:date>2021-03-29T02:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ability to access the Popup Object in ArcPy (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idc-p/1042104#M31</link>
      <description>&lt;P&gt;Leandra,&lt;/P&gt;&lt;P&gt;This can be done using Python CIM Access.&amp;nbsp; Here is the help topic that describes what that means:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/python-cim-access.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/python-cim-access.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This sample below assumes popups are already configured and it only toggles the visibility.&amp;nbsp; If they are not already configured and customized they can be with Python CIM Access as well but it takes more CIM work.&amp;nbsp; See Creating CIM objects in the document above.&lt;/P&gt;&lt;P&gt;If you can give me an example of "Set expressions for the text" I can try to provide a sample snippet.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;p = arcpy.mp.ArcGISProject('current')
m = p.listMaps('Map')[0]
l = m.listLayers('GreatLakes')[0]
l_cim = l.getDefinition('V2')
l_cim.showPopups = True
l.setDefinition(l_cim)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 19:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idc-p/1042104#M31</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2021-03-30T19:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ability to access the Popup Object in ArcPy (ArcGIS Pro) - Status changed to: Already Offered</title>
      <link>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idc-p/1042108#M32</link>
      <description />
      <pubDate>Tue, 30 Mar 2021 20:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idc-p/1042108#M32</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2021-03-30T20:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ability to access the Popup Object in ArcPy (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idc-p/1045838#M38</link>
      <description>&lt;P&gt;Works a Treat Jeff!!! Thankyou!!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 08:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/ability-to-access-the-popup-object-in-arcpy-arcgis/idc-p/1045838#M38</guid>
      <dc:creator>LeandraGordon</dc:creator>
      <dc:date>2021-04-12T08:21:17Z</dc:date>
    </item>
  </channel>
</rss>

