I am trying to publish a Python script as a web tool, where a Mosaic Dataset is created via MDCS (Mosaic Dataset Configuration Script). It flags missing data stores for /Footprints, regardless of wehter I chose copy all data, o register. The .gdb folder where the mosaic dataset is put in is registered as a datastore. It also flagsbroken project data source: /Footprints and "24046 tool calculate field cannot use VB expressions for services"24046 tool calculate field cannot use VB expressions for services. Do I have to enter /Footprints somehow as a derived parameter?
arcpy.CreateMosaicDataset_management(arcpy.env.workspace, "S_col","25832", "1","8_BIT_UNSIGNED", "NONE")
When I run the GP tool in the GUI and publish it, it works, but I cannot see the resulting Web Tool in the Catalog Pane underam using the serverMDCS folders as downloaded from Github. I see itThe only in the Portal tab, and whenmodification I double click itmade is emtpy. It also appears in the portal in the browser. Opening it in Map viewer opens a map with nothingcopying some scripts from subfolders to click/startthe main scripts folder.
I could publish a Model tool with add rasters, but when I run the published version it says ERROR 000732: 2022-11have ctrl+F-24: Dataset C:/path\folder does not exist or is not supported The value doessearched all the sripts and did not exist. ERROR 000732: Output Location: Dataset C:/Pathfind /GDBnameFootprints.gdb does not exist or is not supported The value does not exist.
I tried putting the output directory for the folder where the output gdb is and the input for the folder with the file for add rasters, but it it keeps showing the errors with the C:-paths, although I ranI was able to successfully publish and published therun a script tool after updatingthat creates a mosaic dataset with the server paths in manage datastoresArcpy command.
I did the tutorial https://pro.arcgis.com/en/pro-app/latest/get-started/share-a-web-tool.htm and got to publish it, but when I try to run the web tool it says ERROR 100014: Summarize Within failed. When when I select "copy all data" during publishing, the web tool works.What could this be?
I feel like there is something I am doing wrong with the path on the server when registering the folders. Cthink it should be possible because of this video (23:\ is propably wrong14).