HOW TO
Utility services are used in ArcGIS Enterprise to allow conducting various tasks such as printing, geocoding, and offline packaging. These utility services are initially added to ArcGIS Enterprise when ArcGIS Server is federated as a hosting server.
Before identifying the workflow described below, the PrintingTools item could not be shared to the ArcGIS Enterprise Portal using ArcGIS Server Manager.
The following error was returned when attempting to share the item:
The service is owned by another user. The sharing properties can only be modified by the owner.

Sharing the service was only allowed after removing the itemID and type values in the PrintingTools JSON in Server Administrator as described below.
In some situations, a utility service may be unintentionally removed from the ArcGIS Enterprise portal. In this scenario, the utility service item can no longer be managed by the ArcGIS Enterprise portal and can result in the service no longer functioning. This article provides a workflow to re-create the utility service in the ArcGIS Enterprise portal if the utility service still exists in ArcGIS Server Administrator.
The following workflow can be applied to any utility service, however in this example, the PrintingTools service is described.



"${AGSSERVER}/framework/runtime/ArcGIS/Resources/ArcToolBox/Services/PrintingTools.atbx",
"jobsVirtualDirectory": "rest/directories.arcgisjobs"
},
"portalProperties": {
"isHosted": false,
"portalItems": [{
"itemID": "",
"type": ""
}]
},
Note: Before editing these values, as a precaution, it is recommended to create a backup copy of this JSON file and place in a secure location.






You may now manage the PrintingTools item through the ArcGIS Enterprise portal, as shown in the image above.
Note: This workflow is similar to that in Delete and republish the ArcGIS Server PrintingTools service, however that workflow requires that a user manually re-create the Printing Tools in Server Administrator and does not re-create the Printing Tools in the ArcGIS Enterprise portal. This can still result in printing failures as the Portal item has no connection to the underlying ArcGIS Server Utility service.
Article ID: 000042250
Get help from ArcGIS experts
Start chatting now