<?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: Reusing Custom Web Tool in Analysis Widget in Experience Builder in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1643882#M20533</link>
    <description>&lt;P&gt;It looks like the upload file option would disappear because the tool was hosted on the enterprise portal but the experience builder was on AGOL. Once I published the tool from enterprise to AGOL with stored credentials the tool started working more normally.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 19:18:19 GMT</pubDate>
    <dc:creator>g_maps</dc:creator>
    <dc:date>2025-08-20T19:18:19Z</dc:date>
    <item>
      <title>Reusing Custom Web Tool in Analysis Widget in Experience Builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1640099#M20358</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new to using custom web tools in Experience Builder. I created a custom script in ArcGIS Pro, published it as a web tool to my organization's enterprise portal, and linked the tool to the analysis widget in Experience Builder. The tool simply aims to accept a user-input CSV and append the data to a hosted feature layer in AGOL. The tool works fine in ArcGIS Pro and the first time it runs in Experience Builder it works!&lt;/P&gt;&lt;P&gt;However, after it is run once, the option for users to upload a local CSV disappears, and the tool becomes unusable. I'm not sure if it is something to do with my tool's parameters, execution, or validation or if it is something with Experience Builder.&lt;/P&gt;&lt;P&gt;Any guidance to get my tool running more than once would be much appreciated&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, for some reason I can't upload photos or screenshots in my post so I can't include a visual of what is happening on experience builder, but here is some info from my tool for context.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Parameters&lt;/STRONG&gt;&lt;/U&gt;&lt;EM&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Parameter (0) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;(Label: Input_CSV) , (Data Type: File) , (Type: Required) , (Direction: Input)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Parameter (1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;(Label: PSR_Item) ,&amp;nbsp;(Data Type: String) , (Type: Required) , (Direction: Input) , ... , (Default:&amp;nbsp;2524768276fe4cb08f9a14586cf37f4c)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Parameter (2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;(Label: Status) , (Data Type:&amp;nbsp; String) , (Type: Optional) , (Direction: Output)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Execution:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
from arcgis.gis import GIS
from arcgis.features import FeatureLayer
import pandas as pd

gis = GIS("", username='', password='')

user_input_csv = arcpy.GetParameterAsText(0)
psr_input = arcpy.GetParameterAsText(1)

psr_item = gis.content.get(psr_input)
psr_hfl = psr_item.layers[0]

csv_df = pd.read_csv(user_input_csv)

csv_df['Resolution'] = 'Pending'
 
sdf = pd.DataFrame.spatial.from_xy(csv_df, x_column='Geolocation (Longitude)', y_column='Geolocation (Latitude)', sr=4326)

sdf.rename(columns={'Case Number': 'USER_SortCase_Number', 'Status': 'USER_SortStatus', 'Street Address': 'USER_SortStreet_Address', 'Problem Type': 'Problem_Type'}, inplace=True)

psr_hfl.edit_features(adds=sdf)

arcpy.SetParameterAsText(2, "Tool completed successfully.")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The validation is the default code from the script but here it is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;Validation:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;class ToolValidator:
  # Class to add custom behavior and properties to the tool and tool parameters.

    def __init__(self):
        # Set self.params for use in other validation methods.
        self.params = arcpy.GetParameterInfo()

    def initializeParameters(self):
        # Customize parameter properties. This method gets called when the
        # tool is opened.
        return

    def updateParameters(self):
        # Modify the values and properties of parameters before internal
        # validation is performed.
        return

    def updateMessages(self):
        # Modify the messages created by internal validation for each tool
        # parameter. This method is called after internal validation.
        return&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I get the ability to include screenshots of the issue in experience builder I will add them later on in this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 17:39:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1640099#M20358</guid>
      <dc:creator>g_maps</dc:creator>
      <dc:date>2025-08-07T17:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reusing Custom Web Tool in Analysis Widget in Experience Builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1640102#M20359</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 17:47:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1640102#M20359</guid>
      <dc:creator>g_maps</dc:creator>
      <dc:date>2025-08-07T17:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reusing Custom Web Tool in Analysis Widget in Experience Builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1641086#M20393</link>
      <description>&lt;P&gt;Hello, I too am having this issue where the icon to upload files just disappears.&lt;/P&gt;&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/531022"&gt;@ThomasCoughlin&lt;/a&gt;, is this a bug in web experience?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 22:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1641086#M20393</guid>
      <dc:creator>RodellZorilla</dc:creator>
      <dc:date>2025-08-11T22:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reusing Custom Web Tool in Analysis Widget in Experience Builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1643882#M20533</link>
      <description>&lt;P&gt;It looks like the upload file option would disappear because the tool was hosted on the enterprise portal but the experience builder was on AGOL. Once I published the tool from enterprise to AGOL with stored credentials the tool started working more normally.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 19:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/reusing-custom-web-tool-in-analysis-widget-in/m-p/1643882#M20533</guid>
      <dc:creator>g_maps</dc:creator>
      <dc:date>2025-08-20T19:18:19Z</dc:date>
    </item>
  </channel>
</rss>

