<?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: File Output Paramter in WebTool that was published from a Notebook in ArcGIS Online in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/m-p/1551529#M851</link>
    <description>&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;For those who have similar questions, please see&amp;nbsp;&lt;/SPAN&gt;&lt;A class="editor-rtfLink" href="https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/td-p/1508032" target="_blank" rel="noopener"&gt;&lt;SPAN data-preserver-spaces="true"&gt;https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/td-p/1508032&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-preserver-spaces="true"&gt;. Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 19:06:23 GMT</pubDate>
    <dc:creator>xlt208</dc:creator>
    <dc:date>2024-10-23T19:06:23Z</dc:date>
    <item>
      <title>File Output Paramter in WebTool that was published from a Notebook in ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/m-p/1508021#M846</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;we have created a notebook in ArcGIS Online that creates a Word document based on various parameters. If we let the notebook run on its own, everything works. The output is written to the "arcgis/home" directory.&lt;/P&gt;&lt;P&gt;The next step would be to publish the notebook as a web tool in ArcGIS Online. To do this, we wanted to define an output parameter. The settings currently look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sven_Harpering_0-1721662709548.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/110216i01E7A718E8CE9D97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sven_Harpering_0-1721662709548.png" alt="Sven_Harpering_0-1721662709548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;A first question would be what we have to specify as a default value in JSON format. According to the documentation, it has to be a URL to an existing output? Currently, we have simply uploaded the Word template as an item in ArcGIS Online and specified the URL to it.&lt;/P&gt;&lt;P&gt;Afterwards we added this snippet at the end of the notebook:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sven_Harpering_1-1721663013479.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/110218iC7EAC5899E0A303B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sven_Harpering_1-1721663013479.png" alt="Sven_Harpering_1-1721663013479.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The name of the variable equals the output variable name for the word file.&lt;/P&gt;&lt;P&gt;After publishing, we open the tool in map viewer and want to run it. Here we immediately notice that the output parameter does not appear in the GUI.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sven_Harpering_2-1721663084034.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/110219i478B009BA419337B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sven_Harpering_2-1721663084034.png" alt="Sven_Harpering_2-1721663084034.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The tool can still be started, but aborts with an error message in the output parameter area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sven_Harpering_3-1721663287851.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/110220i65DAD6096EB45757/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sven_Harpering_3-1721663287851.png" alt="Sven_Harpering_3-1721663287851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that the error is in the output parameter section. Do you have any clue, what we are doing wrong in the whole output parameter section (Notebook config, etc.)? The input parameters work.&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Sven&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 15:50:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/m-p/1508021#M846</guid>
      <dc:creator>Sven_Harpering</dc:creator>
      <dc:date>2024-07-22T15:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: File Output Paramter in WebTool that was published from a Notebook in ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/m-p/1551529#M851</link>
      <description>&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;For those who have similar questions, please see&amp;nbsp;&lt;/SPAN&gt;&lt;A class="editor-rtfLink" href="https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/td-p/1508032" target="_blank" rel="noopener"&gt;&lt;SPAN data-preserver-spaces="true"&gt;https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/td-p/1508032&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-preserver-spaces="true"&gt;. Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 19:06:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-published/m-p/1551529#M851</guid>
      <dc:creator>xlt208</dc:creator>
      <dc:date>2024-10-23T19:06:23Z</dc:date>
    </item>
  </channel>
</rss>

