A schematics service allows a web application to access schematic diagrams through a web service. This service uses the schematics extension capabilities to access, create, update, and edit schematic diagrams.
Preparing the map document
Before you can publish a schematics service, you need to use ArcMap to create a map document that contains the schematic layers you will use in your service:
- To serve a finite set of schematic diagrams that already exist in a schematic dataset, you must author schematic layers related to these existing diagrams.
- To serve both existing and future schematic diagrams, and have the ability to generate new schematic diagrams on the web, you must author schematic layers related to the diagram templates on which these existing and future diagrams are based.
Publishing the service
Once you have a map document with the desired schematic layers, you're ready to publish the schematics service. Publishing the map document as a service and enabling the schematics capability allows you to use the service within a web application to query and display the diagrams you want, edit their content (apply an algorithm, update them), and generate new diagrams.
Schematics service operations
Schematics services have built-in operations that allow schematics clients to perform various requests on the server. When publishing your maps, the Query operation is enabled by default.
- Query allows schematics clients to query the schematic diagrams to display. It also allows clients to access the schematic layout algorithms preconfigured for each diagram and apply them to get an automatic layout of the schematic diagram content. The Query operation is enabled by default and is supported whatever the schematic layers' data source is.
- Editing allows schematics clients to generate new schematic diagrams, update existing schematic diagrams, and save the schematic diagram contents after they have been laid out. The Editing operation is not enabled by default. When it is enabled, it is only supported for schematic layers that reference data stored in an enterprise geodatabase.
Consuming the service
Once you've published your schematics service to a GIS server, it will be available to clients both locally and on the web.