Hello everyone,
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.
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:
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.
Afterwards we added this snippet at the end of the notebook:
The name of the variable equals the output variable name for the word file.
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.
The tool can still be started, but aborts with an error message in the output parameter area.
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.
Best
Sven
For those who have similar questions, please see https://community.esri.com/t5/arcgis-notebooks-questions/file-output-paramter-in-webtool-that-was-pu.... Thank you!