Unique numeric IDs are not assigned to layers and stand-alone tables in your map because the Allow assignment of unique numeric IDs for sharing web layers option is not enabled on the Map Properties dialog box. It is recommended that you ...
(sd_output_filename, server_type) print("Finish Publishing")exceptExceptionasstage_exception:if"00374"instr(stage_exception): print("The map is not set to allow assignment of unique IDs") print("Analyzer errors encountered - {}".format(str(stage_exception)))exceptarcpy.ExecuteError: print(...
决定是否使用门户连接的布尔值。 如果将offline设置为 False,则必须登录到门户,以使用exportToSDDraft函数创建服务定义草稿文件 (.sddraft)。 如果将offline设置为 True,则无需登录到门户即可创建服务定义草稿文件。 Boolean overwriteExistingService (可读写)
If you do not manually assign layer IDs, you may encounter analyzererror 00374when sharing web layers. As a best practice, manually assign layer IDs prior to publishing if you intend to overwrite the web layer or service in the future. Otherwise, service sublayer IDs can potentially change wh...
(.sddraft) for amap servicethat enables thecheckUniqueIDAssignmentproperty. The service definition draft file is analyzed during staging. If the map is not set to allow assignment of unique numeric IDs for sharing web layers, analyzer error00374is returned and a message is printed. For more ...
server_type) print("Finish Publishing") except Exception as stage_exception: if "00374" in str(stage_exception): print("The map is not set to allow assignment of unique IDs") print("Analyzer errors encountered - {}".format(str(stage_exception))) except arcpy.ExecuteError: print(arcpy.Get...
server_type) print("Finish Publishing") except Exception as stage_exception: if "00374" in str(stage_exception): print("The map is not set to allow assignment of unique IDs") print("Analyzer errors encountered - {}".format(str(stage_exception))) except arcpy.ExecuteError: print(arcpy.Get...
server_type) print("Finish Publishing") except Exception as stage_exception: if "00374" in str(stage_exception): print("The map is not set to allow assignment of unique IDs") print("Analyzer errors encountered - {}".format(str(stage_exception))) except arcpy.ExecuteError: print(arcpy.Get...
federated_server_url) print("Finish Publishing") except Exception as stage_exception: if "00374" in str(stage_exception): print("The map is not set to allow assignment of unique IDs") print("Analyzer errors encountered - {}".format(str(stage_exception))) except arcpy.ExecuteError: print(...
federated_server_url) print("Finish Publishing") except Exception as stage_exception: if "00374" in str(stage_exception): print("The map is not set to allow assignment of unique IDs") print("Analyzer errors encountered - {}".format(str(stage_exception))) except arcpy.ExecuteError: print(...