You can export the service definition of a knowledge graph service. You can invoke the ArcGIS REST API to perform the export operation of a knowledge graph service. The owner of the knowledge graph service and administrators of the ArcGIS Enterprise organization can always export its service definition. By default, other users cannot export the knowledge graph service definition unless given the correct permissions. The resulting service definition can then be published as a new knowledge graph service in an ArcGIS Enterprise organization. Learn more about the export operation in the ArcGIS Services Directory
Note:
Exporting and publishing knowledge graph service definitions is not currently supported when using cloud services to store system directories.Publish a knowledge graph service definition
You can publish a knowledge graph service definition file, allowing you to move a knowledge graph service from one system to another while conserving the service's references and configured parameters. The default timeout for publishing the service is 12 hours.
Knowledge graph service definition files and publishing jobs will be periodically deleted from their respective server directories. Learn more about how ArcGIS Server handles server directories.
Note:
Publishing a knowledge graph service is not supported when the knowledge graph uses a NoSQL data store with user-managed data.
To publish a knowledge graph service definition, complete the following steps:
- Verify that you are signed in to your organization and that you have privileges to create, update, and delete content.
- Open Content > My content and click New item.
- Click Your device, browse to the location of the service definition (.sd) file on your local machine or a directory on a network share, and click Open.
Alternatively, drag the file into the drop zone at the top of the New item window.
- Choose an option to add the service definition file:
- Select Add <file name> and create a layer to add the service definition file and publish the service.
- Select Add <file name> only to add the file without publishing the service.
Note:
You can change the name of the knowledge graph service definition file, add tags, and add a summary by selecting Add <file name> only. By default, the name reflects what is provided in the service definition file.
- Click Next.
- Optionally, in the Folder field, choose an existing or create a new folder to publish the service to.
- Click Save.