#ModelBuilder
ArcGIS Blog - Raster Analysis Comes to ModelBuilder in Map Viewer (Beta) by Jian Lange

https://www.esri.com/arcgis-blog/products/arcgis-online/announcements/raster-analysis-comes-to-modelbuilder-in-map-viewer-beta
November 10, 2026 at 6:20 AM
Using field mapping with ArcPy
I'm having trouble trying to understand how field mapping works in ArcPy. I'm relatively new to Python. In the below example, I want to take a shapefile and append it to a feature class but I want to use the field map parameter so the fields from the shapefile go to the correct field names in the feature class. I successfully built this out in ModelBuilder and exported the Python script (see below) but so much of it doesn't make sense. For example, what are all these different codes... -1, 0, #, true, false, etc? There seems to be no documentation anywhere online on the meaning behind these codes. I read that I can use the fieldmapping() class as a parameter in this script but have been unable to incorporate that? If you know a much easier way (via python) to field map then using the above methods, I'm open to those suggestions. The code below is only a simple test that I created, so I can hopefully understand field mapping better but in the long run I want to this to be able to handle a LOT of fields from many different shapefiles. Source shapefile schema: Name, Code, Date Target feature class schema: Description, Num, Date # Import arcpy module import arcpy # Local variables: New_Shapefile_shp = "C:\\New_Shapefile.shp" New_Featureclass__2_ = New_Shapefile_shp New_Featureclass = "C:\\Target.gdb\\New_Featureclass" # Process: Append arcpy.Append_management("C:\\New_Shapefile.shp", New_Featureclass, "NO_TEST", "DESCRIPTION \"DESCRIPTION\" true true false 150 Text 0 0 ,First,#,C:\\New_Shapefile.shp,Name,-1,-1;NUM \"NUM\" true true false 4 Long 0 0 ,First,#,C:\\New_Shapefile.shp,Code,-1,-1;DATE \"DATE\" true true false 8 Date 0 0 ,First,#,C:\\New_Shapefile.shp,Date,-1,-1", "")
gis.stackexchange.com
September 24, 2026 at 12:20 AM
"SageMaker SDK v3 simplifies model training and deployment with code-container decoupling, structured configuration, and scalability across workloads. Check out the walkthrough for more info! 🚀🧠 #MachineLearning #AWS #AI"
Bring your own model with Amazon SageMaker AI: Script mode in SDK v3 | Amazon Web Services
The SageMaker Python SDK v3 redesigns script mode with unified ModelTrainer and ModelBuilder classes. This post walks through two end-to-end examples, a scikit-learn Random Forest and a multi-GPU Stable Diffusion 3.5 LoRA fine-tune, showing how SourceCode syncs your local code into any container at runtime so you can iterate without rebuilding Docker images.
aws.amazon.com
September 20, 2026 at 12:39 PM
Error publishing feature layer using ModelBuilder in ArcGIS Pro
I've created a model in ArcGIS Pro ModelBuilder which attempts to carry out the following: * Variable: Database connection (sql server) * Make Query Layer (input = Database Connection, output = "Dwellings SQL") * Make Feature Layer (input = "Dwellings SQL", output = "Dwellings") Then using the code in the following resource: https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-modelbuilder/ I created a toolbox which should publish (overwrite) a layer called "Dwellings" in our AGOL account. I have tweaked the code in the ScriptTool function as such: def ScriptTool(map, service, summary, tags, description, overwriteService, enableEditing, enableSync, enableWFS, timezone, share_public, share_organization, share_groups, outdir): """ScriptTool function docstring""" # Set output file names sddraft_filename = service + ".sddraft" sddraft_output_filename = os.path.join(outdir, sddraft_filename) # Reference map to publish aprx = arcpy.mp.ArcGISProject("CURRENT") m = aprx.listMaps(map)[0] selected_layer = m.listLayers()[0] # Create FeatureSharingDraft and set service properties sharing_draft = m.getWebLayerSharingDraft("HOSTING_SERVER", "FEATURE", service, [selected_layer]) sharing_draft.summary = summary sharing_draft.tags = tags sharing_draft.description = description sharing_draft.credits = "My Credits" sharing_draft.useLimitations = "My Use Limitations" sharing_draft.overwriteExistingService = overwriteService # Create Service Definition Draft file sharing_draft.exportToSDDraft(sddraft_output_filename) outsddraft = sddraft_output_filename arcpy.AddMessage("Service definition draft created") # Modify capabilities if enableEditing or enableSync: ModifyCapabilities(sddraft_output_filename, enableEditing, enableSync) if enableWFS: EnableWFS(sddraft_output_filename) # Set time zone if(timezone != ""): property_set = [{ "key": "dateFieldsRespectsDayLightSavingTime", "value": "true" }, { "key": "dateFieldsTimezoneID", "value": timezone }] SetTimezone(sddraft_output_filename, property_set=property_set) # Create Service Definition file sd_filename = service + ".sd" sd_output_filename = os.path.join(outdir, sd_filename) arcpy.StageService_server(sddraft_output_filename, sd_output_filename) arcpy.AddMessage("Service definition created") # Upload to portal output = arcpy.UploadServiceDefinition_server(sd_output_filename, "My Hosted Services", in_override="OVERRIDE_DEFINITION", in_public=share_public, in_organization=share_organization, in_groups=share_groups) arcpy.AddMessage("Service published") return output[5] ...so that the function will publish a feature layer rather than the whole map. On running the code I receive the following error: File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\server.py", line 1179, in StageService raise e File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\server.py", line 1176, in StageService retval = convertArcObjectToPythonObject(gp.StageService_server(*gp_fixargs((in_service_definition_draft, out_service_definition, staging_version), True))) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing_base.py", line 512, in return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: ERROR 001272: Analyzer errors were encountered ([{"code":"00102","message":"Selected layer does not contain a required layer type for web feature layer","object":"Map"}]). Failed to execute (StageService). Failed script Publish Web Feature Layer... Failed to execute (Publish Web Feature Layer). I can't understand why this is happening as the current map does display the imported feature layer and when running the section of the code under #Reference map to publish in the python console it does find the "Dwellings" feature layer. The line of code which throws the error is: arcpy.StageService_server(sddraft_output_filename, sd_output_filename) ...and the error message isn't very helpful, I can't find any helpful documentation on Esri's website which details if the problem is with the feature layer or a bug in the code. I am using ArcGIS Pro 3.1.3 with the default arcgispro-py3 environment. Below is a diagram of my model: Below are the parameters I used as per the Esri article:
gis.stackexchange.com
September 16, 2026 at 6:06 AM
Overwriting feature layer using lyrx file
I am trying to come up with a method that utilizes lyrx files to routinely overwrite a feature layer on ArcGIS Portal. I've tried a few methods that utilize Python scripts, ModelBuilder and Task Scheduler to accomplish this, but I feel like the main issue is with the file format (lyrx). I am back at square one with this, so any feedback/suggestions? aprx = arcpy.mp.ArcGISProject(aprx_path) map = aprx.listMaps()[0] layer = map.addDataFromPath(lyr_file_path) outputfc_path = f"{outputgdb}/{outputfc_name}" arcpy.FeatureClassToFeatureClass_conversion(in_features = layer, out_path = outputgdb, out_name = outputfc_name) print(f"Feature class created at: {outputfc_path}") gis = GIS(portalurl, username, password) item = gis.content.get(itemid) flayer_collection = FeatureLayerCollection.fromitem(item) flayer_collection.manager.overwrite(outputfc_path) try: flayer_collection.manager.overwrite(outputfc_path) print("Feature layer has been successfully overwritten with updated data.") except Exception as e: print(f"Error during overwrite: {e}") All my variables are assigned in a different section which shows personal info so i cant include it in the post. This has worked the best in terms of making the lyr into a feature class. However, when uploading to portal it says that it has been modifeid, but the feature count is not what it should be!
gis.stackexchange.com
August 29, 2026 at 7:10 PM
🔧 The unified ModelTrainer and ModelBuilder in SageMaker SDK V3 seems like a high-leverage change, but how will it affect model reproducibility and version control in rapidly iterating development cycles?
August 27, 2026 at 2:38 PM
🤖 Amazon SageMaker SDK V3 Streamlines Custom Algorithm Development

The Amazon SageMaker SDK V3 simplifies custom algorithm development by introducing a unified ModelTrainer and ModelBuilder, reducing the need for framework specific...

#GenerativeAI #DeepLearning #AWS #AI #AIPulse
Read the full article →
www.synestesia.uk
August 27, 2026 at 2:38 PM
SageMaker Python SDK v3 introduces ModelTrainer and ModelBuilder classes with SourceCode configuration to streamline bring-your-own-model workflows, enabling code-container decoupling and unified APIs across frameworks.
Bring your own model with Amazon SageMaker AI: Script mode in SDK v3
SageMaker Python SDK v3 introduces ModelTrainer and ModelBuilder classes with SourceCode configuration to streamline bring-your-own-model workflows, enabling code-container decoupling and unified APIs across frameworks.
aws-news.com
August 26, 2026 at 4:34 PM
🤖 **Bring your own model with Amazon SageMaker AI: Script mode in SDK v3**

The SageMaker Python SDK v3 redesigns script mode with unified ModelTrainer and ModelBuilder classes. This post walks through two end-to-end examples, a scikit-learn Random Forest and a multi-GPU S...

📰 Source […]
Original post on igeek.gamer-geek-news.com
igeek.gamer-geek-news.com
August 26, 2026 at 4:34 PM
GeoLibre now has a Model Builder, with 1,000+ geoprocessing tools, running entirely in your browser.

If you've ever built a workflow in ArcGIS ModelBuilder or QGIS Graphical Modeler, this will feel familiar: drag tools onto a canvas, wire them together, hit Run.

Try it out: web.geolibre.app
August 20, 2026 at 12:01 PM