<?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 Enable arcpy messaging to include hyperlinks in the message in Python Ideas</title>
    <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idi-p/1503929</link>
    <description>&lt;P&gt;So a&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/td-p/274248" target="_self"&gt;question&lt;/A&gt; was asked way back in 2012 about adding hyperlinks in error messaging. 12 years have passed, ArcPro is the main desktop application and this has not come to pass so I'm asking now if this can be considered as an idea.&lt;/P&gt;&lt;P&gt;Currently my error messaging might be something like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.AddError("Some error, you need to go to Amazon!")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to be able to do is something like this, but this simply prints everything:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.AddError('Some error, you need to go to &amp;lt;a href="https://www.amazon.co.uk"&amp;gt;Amazon!&amp;lt;/a&amp;gt;')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my use case scenario I would replace the URL with a URL to an error page for an online manual.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 23:58:15 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2024-07-10T23:58:15Z</dc:date>
    <item>
      <title>Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idi-p/1503929</link>
      <description>&lt;P&gt;So a&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/td-p/274248" target="_self"&gt;question&lt;/A&gt; was asked way back in 2012 about adding hyperlinks in error messaging. 12 years have passed, ArcPro is the main desktop application and this has not come to pass so I'm asking now if this can be considered as an idea.&lt;/P&gt;&lt;P&gt;Currently my error messaging might be something like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.AddError("Some error, you need to go to Amazon!")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to be able to do is something like this, but this simply prints everything:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.AddError('Some error, you need to go to &amp;lt;a href="https://www.amazon.co.uk"&amp;gt;Amazon!&amp;lt;/a&amp;gt;')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my use case scenario I would replace the URL with a URL to an error page for an online manual.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 23:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idi-p/1503929</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2024-07-10T23:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1505083#M330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;There is an existing pathway for this that you might be interested in.&lt;/P&gt;&lt;P&gt;Internally, we do have some additional message features that were created for a subset of Pro teams that develop geoprocessing tools. Supporting links was part of that. It's organized as a json type of structure (like below) that you can use with the arcpy message functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, it's not officially supported, and there is potential for this to change in the future.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;msg = """json:
    [{"element": "content",
      "data": ["This is my link: ", 
               {"element": "hyperlink", 
                "data": "Esri", 
                "link": "https://www.esri.com/"}]}]"""

arcpy.AddMessage(msg)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWynne_0-1720821956786.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109722i42D110A6D0211AB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWynne_0-1720821956786.png" alt="DavidWynne_0-1720821956786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;BR /&gt;-Dave&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 22:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1505083#M330</guid>
      <dc:creator>DavidWynne</dc:creator>
      <dc:date>2024-07-12T22:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1505286#M331</link>
      <description>&lt;P&gt;Dave,&lt;/P&gt;&lt;P&gt;This is great news but I feel cautious to use it as you say its "not officially supported", which to me could indicate that it could be removed without warning as well as becoming official.&lt;/P&gt;&lt;P&gt;Now this is just me but I find using json horrible, it's just all brackets within brackets with colons upon colons to me! I have always found json hard to decypher. So if the Pro team were to consider to make this a supported feature (which would be great!) then I ask them to consider an easier approach like a &amp;lt;a&amp;gt;&amp;lt;/a&amp;gt; or maybe some sort of object based approach?&amp;nbsp; For example a geoprocessing tool returns a result object which one can tap into the various properties. May be the AddMessage can take of a sort of message object? Just an idea.&lt;/P&gt;&lt;P&gt;Anyway this I think would be really useful and surprised that it's not in the documentation, so at the minimum you could suggest to the team to expand the help documentation to show off this very useful property.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Duncan&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 16:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1505286#M331</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2024-07-15T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1546080#M371</link>
      <description>&lt;P&gt;Hi DavidWynne,&lt;/P&gt;&lt;P&gt;I have a geojson file present in my local computer path i.e., c:/esrifolder/sample.geojson, how to change the bellow msg params to open the file from local(my computer)&lt;/P&gt;&lt;PRE&gt;msg = """json:
    [{"element": "content",
      "data": ["This is my link: ", 
               {"element": "hyperlink", 
                "data": "Esri", 
                "link": "https://www.esri.com/"}]}]"""&lt;/PRE&gt;&lt;P&gt;I have change the "link" key to href, file:/// etc., but did not worked for me.&amp;nbsp; Do we have any ESRI document reference related to this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly suggest,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 10:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1546080#M371</guid>
      <dc:creator>jayakumar</dc:creator>
      <dc:date>2024-10-07T10:02:43Z</dc:date>
    </item>
    <item>
      <title>Clickable hyperlink in arcpy geoprocessing details</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1583016#M459</link>
      <description>&lt;P&gt;From&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/73495"&gt;@PeterKonrad&lt;/a&gt;&amp;nbsp;in&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcpy-geoprocessing-details-clickable-hyperlink/m-p/196077/highlight/true#M8675" target="_self"&gt;arcpy geoprocessing details clickable hyperlink&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;[I want to] add a clickable hyperlink to the details of a custom python geoprocessing tool&amp;nbsp;in ArcGIS Pro…I would like the end user to have the option to open the output pdf file from the results window.&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1738909166344.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/124853i28BC064DDDACCF72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1738909166344.png" alt="Bud_0-1738909166344.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 07 Feb 2025 06:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1583016#M459</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2025-02-07T06:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Clickable hyperlink in arcpy geoprocessing details</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1583396#M460</link>
      <description>&lt;P&gt;I&amp;nbsp;&lt;EM&gt;think&lt;/EM&gt; I remember one of the Error reporting functions resulting in a clickable link, which would imply the basic functionality is there in the underlying structure.&lt;/P&gt;&lt;P&gt;It's also worth noting, though, that unlike Desktop, the details don't show up automatically, and I know many who never even glance at them, which severely altered how I write my scripts and what sort of debug/feedback I write.&lt;/P&gt;&lt;P&gt;If you do want this end result, a near-term workaround might be a Boolean checkbox for whether to open the file when done.&amp;nbsp; If they check the box, you call the relevant Python function to open the file in the native system viewer; I haven't used it in forever, but a quick Google suggests the command might've been &lt;STRONG&gt;os.startfile&lt;/STRONG&gt;, though you'll want to check me on that.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 02:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1583396#M460</guid>
      <dc:creator>MErikReedAugusta</dc:creator>
      <dc:date>2025-02-08T02:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1621501#M480</link>
      <description>&lt;P&gt;Here's a quick snippet to create the link using the JSON method. That said, I do not like it and would prefer being able to set the hyperlink at the bottom of the script tool similar to what happens with the native export layout tools.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
import json

link_variable = "Path/to/your/link"
msg = {
    "element": "content",
    "data": ["Open File: ", {
        "element": "hyperlink",
        "data": "PDF File",
        "link": link_variable
    }]
}
msg = f"json: [{json.dumps(msg)}]"
arcpy.AddMessage(msg)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Jun 2025 13:23:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1621501#M480</guid>
      <dc:creator>Matthew_Muehlhauser</dc:creator>
      <dc:date>2025-06-06T13:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message - Status changed to: In Product Plan</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1648615#M516</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We're working on this!&amp;nbsp; This status does not guarantee that the functionality will be in the next release, but development work has begun. Release cycles vary by product so make sure to check&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.esri.com/en/other-resources/product-life-cycle" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;product&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;life cycle information&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;to get an idea of when to expect the next release.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 15:37:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1648615#M516</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2025-09-08T15:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1665855#M538</link>
      <description>&lt;P&gt;Hi all, thank you for your patience - existing support for hyperlinks in messages has been documented in the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/addmessage.htm" target="_blank"&gt;AddMessage&lt;/A&gt;&amp;nbsp;documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 15:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1665855#M538</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2025-11-14T15:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1665877#M539</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/50334"&gt;@HannesZiegler&lt;/a&gt;&amp;nbsp; &amp;nbsp;Great to see this in the help file, I think this will be really useful for developers, I know I'll start using it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a quick clarification, the help page for AddMessage() has been updated, does that mean the JSON structure &lt;U&gt;does not work&lt;/U&gt; in AddError() and AddWarning() as neither of those pages appear to have be updated with this useful functionality? In my initial idea I was using AddError() as I am most likely to want people to jump out to an error code in an online manual.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 15:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1665877#M539</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2025-11-14T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message - Status changed to: Open</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1670935#M544</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;&amp;nbsp;apologies - you are right - we can't quite call this done. AddError and AddWarning are missing parity to AddMessages, I'm re-opening this idea.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 18:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1670935#M544</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2025-12-05T18:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1671027#M545</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/50334"&gt;@HannesZiegler&lt;/a&gt;&amp;nbsp; and others I have tested this technique with AddError(). It works great with AddMessage() but when applied to a message in AddError() it does not take on the red colour for the text to highlight the issue was an error. Feels like its 80% there! But as you have stated you have re-opened the idea so hopefully we will see it fully working in the next update? Thanks.&lt;/P&gt;&lt;P&gt;p.s. I should state that I tested this in Pro 3.6.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 23:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1671027#M545</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2025-12-05T23:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Enable arcpy messaging to include hyperlinks in the message</title>
      <link>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1684331#M568</link>
      <description>&lt;P&gt;This works when running in the GP pane, but not when published as a GP service. Are there any plans to support clickable links in GP Service messages?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 15:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/enable-arcpy-messaging-to-include-hyperlinks-in/idc-p/1684331#M568</guid>
      <dc:creator>MichaelPMattaini</dc:creator>
      <dc:date>2026-02-13T15:22:33Z</dc:date>
    </item>
  </channel>
</rss>

