<?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: Find ReferenceID of an AddIn using Python? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/find-referenceid-of-an-addin-using-python/m-p/1587587#M73769</link>
    <description>&lt;P&gt;Are you talking about the addins that live in Local/ESRI/ArcGISPro/Toolboxes? If so that's actually the first step of initialization of arcpy:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# find add-ins toolbox modules
local_appdata = os.getenv('LOCALAPPDATA')
uuid_paths = []
module_paths = []
if local_appdata and os.path.exists(local_appdata):
    addin_toolbox_path = pathlib.Path(local_appdata).joinpath('ESRI', 'ArcGISPro', 'Toolboxes')
    if addin_toolbox_path.exists():
        uuid_paths = [pth.resolve() for pth in addin_toolbox_path.iterdir() if pth.is_dir()]
        module_paths = [f.glob('arcpy/*.py') for f in uuid_paths]&lt;/LI-CODE&gt;&lt;P&gt;These are all deleted after they are checked for, but you could definitely just use this exact code to find them at any time.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2025 18:00:03 GMT</pubDate>
    <dc:creator>HaydenWelch</dc:creator>
    <dc:date>2025-02-20T18:00:03Z</dc:date>
    <item>
      <title>Find ReferenceID of an AddIn using Python?</title>
      <link>https://community.esri.com/t5/python-questions/find-referenceid-of-an-addin-using-python/m-p/1587212#M73766</link>
      <description>&lt;P&gt;I'm looking for a way to find the reference or globalid of an addin file using python.&lt;/P&gt;&lt;P&gt;To clarify, I'm looking for these&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_0-1739997618157.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125831i0F62EE0D4BA1C56F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_0-1739997618157.png" alt="AlfredBaldenweck_0-1739997618157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to do that?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 20:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/find-referenceid-of-an-addin-using-python/m-p/1587212#M73766</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2025-02-19T20:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find ReferenceID of an AddIn using Python?</title>
      <link>https://community.esri.com/t5/python-questions/find-referenceid-of-an-addin-using-python/m-p/1587587#M73769</link>
      <description>&lt;P&gt;Are you talking about the addins that live in Local/ESRI/ArcGISPro/Toolboxes? If so that's actually the first step of initialization of arcpy:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# find add-ins toolbox modules
local_appdata = os.getenv('LOCALAPPDATA')
uuid_paths = []
module_paths = []
if local_appdata and os.path.exists(local_appdata):
    addin_toolbox_path = pathlib.Path(local_appdata).joinpath('ESRI', 'ArcGISPro', 'Toolboxes')
    if addin_toolbox_path.exists():
        uuid_paths = [pth.resolve() for pth in addin_toolbox_path.iterdir() if pth.is_dir()]
        module_paths = [f.glob('arcpy/*.py') for f in uuid_paths]&lt;/LI-CODE&gt;&lt;P&gt;These are all deleted after they are checked for, but you could definitely just use this exact code to find them at any time.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 18:00:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/find-referenceid-of-an-addin-using-python/m-p/1587587#M73769</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2025-02-20T18:00:03Z</dc:date>
    </item>
  </channel>
</rss>

