<?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: Add warning note at the top of a custom geoprocessing tool in ArcGIS Pro in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1550542#M73062</link>
    <description>&lt;P&gt;In that case definitely put something in the Ideas board. Because that isn't currently possible with Arcpy, having that specific behavior would need to be added in a new release. For now you'd just have to use the workaround for similar functionality.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 17:23:09 GMT</pubDate>
    <dc:creator>HaydenWelch</dc:creator>
    <dc:date>2024-10-21T17:23:09Z</dc:date>
    <item>
      <title>Add warning note at the top of a custom geoprocessing tool in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1546142#M73001</link>
      <description>&lt;P&gt;Is it possible to add notes at the top of custom tools, either with Python or the Toolbox GUI, similar to what I see here for the Append tool where it says "This tool modifies the Target Dataset"&lt;/P&gt;&lt;P&gt;I want to add a customised note of my own at the top of a custom tool.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clubdebambos_0-1728309105164.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116602iA1DD4A6BF9E79F9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Clubdebambos_0-1728309105164.png" alt="Clubdebambos_0-1728309105164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 13:54:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1546142#M73001</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2024-10-07T13:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add warning note at the top of a custom geoprocessing tool in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1548606#M73020</link>
      <description>&lt;P&gt;I don't believe that blue message area is exposed to arcpy. Or if it is, it is an undocumented capability. May be in some future release ESRI will allow developers to put a piece of text into it?&lt;/P&gt;&lt;P&gt;What you can do is &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/understanding-validation-in-script-tools.htm" target="_self"&gt;validate on each parameter&lt;/A&gt; of a python script tool you are building. So you could for example check if an input layer has a specific field, if it does not then you return an error message and the tool will not be allow to run. This ensures all parameters are valid for the code they are about to feed into.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 11:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1548606#M73020</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2024-10-15T11:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add warning note at the top of a custom geoprocessing tool in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1549616#M73048</link>
      <description>&lt;P&gt;As &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt; said, you can put the message on parameters:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HaydenWelch_0-1729185596423.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117476i9EC8796C8C67B365/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HaydenWelch_0-1729185596423.png" alt="HaydenWelch_0-1729185596423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can do this in the updateMessages function of a pyt tool:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;...
def updateMessages(self, parameters: list[arcpy.Parameter]) -&amp;gt; None:
    parameters[0].setWarningMessage("Warning message")
...&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Oct 2024 17:27:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1549616#M73048</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2024-10-17T17:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add warning note at the top of a custom geoprocessing tool in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1550356#M73058</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/607017"&gt;@HaydenWelch&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Its not what I want to do. It would be nice to be able to add that blue tip at the top that states a tool will modify the input/target dataset in place without an Add Warning workaround.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 07:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1550356#M73058</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2024-10-21T07:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add warning note at the top of a custom geoprocessing tool in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1550542#M73062</link>
      <description>&lt;P&gt;In that case definitely put something in the Ideas board. Because that isn't currently possible with Arcpy, having that specific behavior would need to be added in a new release. For now you'd just have to use the workaround for similar functionality.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 17:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1550542#M73062</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2024-10-21T17:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add warning note at the top of a custom geoprocessing tool in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1655267#M74760</link>
      <description>&lt;P&gt;I am not sure when this feature is added, but now, under the "General" tool properties, there is a checkbox that allows you to show a message like this at the top of the tool.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BenWoodward_0-1759519729554.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141357iCFDF6DEB97D676DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BenWoodward_0-1759519729554.png" alt="BenWoodward_0-1759519729554.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BenWoodward_1-1759519800358.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141358i38EEDCAB58E8844B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BenWoodward_1-1759519800358.png" alt="BenWoodward_1-1759519800358.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 19:30:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-warning-note-at-the-top-of-a-custom/m-p/1655267#M74760</guid>
      <dc:creator>BenWoodward</dc:creator>
      <dc:date>2025-10-03T19:30:47Z</dc:date>
    </item>
  </channel>
</rss>

