As for all map services, creating a schematics service begins inside ArcMap. You must create a map document that contains schematic layers related to the schematic diagrams you want to use in your service.
A schematic layer is a composite layer composed of feature layers based on the schematic feature classes associated with a schematic diagram template. Each schematic layer can reference one of the following:
- A schematic diagram
- A schematic diagram template
When publishing a map with a schematic layer that references a single schematic diagram, this schematic diagram will be available through the web service.
When publishing a map with a schematic layer that references a schematic diagram template, all the schematic diagrams based on that diagram template that already exist in the schematic dataset—such as those based on this diagram template which will be built afterwards—will be available on your GIS server. In that case, if the schematic diagram template comes from a registered enterprise geodatabase and you publish the map with the Schematics Editing capability enabled, you will be able to generate new schematic diagrams based on this template from your client web applications.
When you author your map with the desired schematic diagrams, you can author one of the following:
- A finite set of unitary schematic diagrams—that is, you will have a schematic layer per schematic diagram through your GIS server
- A set of schematic diagram templates—that is, you will have a schematic layer per schematic diagram template through your GIS server, each one allowing you access to all the existing and future schematic diagrams based on a template
- Both a finite set of unitary schematic diagrams and schematic diagram templates
The following section details the steps to author your map with the desired schematic diagrams:
- Start ArcMap with a new empty map.
- Click Windows on the main menu and click Catalog.
The Catalog window opens.
- Navigate to the schematic dataset where the schematic diagrams with which you want to work are stored.
- To provide access to a particular schematic diagram through a web service, do the following:
- Drag the desired schematic diagram on the Catalog window.
- Drop it on the map document.
A schematic layer for this schematic diagram is created in the map document.
- Repeat substeps a and b for each desired schematic diagram.
- To provide access to all existing and future schematic diagrams related to a particular diagram template through a web service, and have the ability to generate new schematic diagrams based on this template on the web, do the following:
- Right-click the schematic dataset entry in the Catalog window and click Show/Hide Schematic Classes.
New main branches, one per schematic diagram template in the schematic dataset, automatically appear in the Catalog tree.
- Drag the entry corresponding to the schematic diagram template in which you are interested.
- Drop it on the map document.
A schematic layer referencing all the schematic diagrams related to the diagram template is automatically created in the map document.
- Repeat substeps a and b for each desired schematic diagram template.
- Right-click the schematic dataset entry in the Catalog window and click Show/Hide Schematic Classes.
- Save the map.