I'm have a script that we run as a scheduled task to build feature classes and we are trying to import metadata from pre-configured xml files. The ImportMetadata_conversion will run when the script is invoked on the desktop but not when invoked from ArcGIS server. Is this a bug in the 64bit version of arcpy on the server?
Apparently the arcpy Metadata conversion tools will not run on ArcGIS install using 64-bit python. Looks like we'll have to install a 32-bit ArcGIS Desktop on the server.
Errors when run on server
Are you getting any errors?
import arcpy metadata = r"\\itdhq1apt90\InputData\CreateGISDataWarehouse\assets\Bridge_metadata.xml" output_bridge = r"\\itdhq1apt90\InputData\CreateGISDataWarehouse\output\Staging.gdb\Assets\Bridge" arcpy.ImportMetadata_conversion(metadata,"FROM_ARCGIS",output_bridge,"ENABLED")
would be nice if you can post your current code...
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.