AnsweredAssumed Answered

Feature Templates not transfered properly when publishing a map on ArcGIS Server

Question asked by kefayati on Nov 12, 2014

I have a map for which I have created feature templates, originally based on different values for a field. I have published the map to my ArcGIS server and the templates worked perfectly.

Now, I want to consolidate those templates into one, i.e. have just one template for that layer. But when I delete the other unwanted ones, save the map and publish it again (even if I delete the map from the server rather than over writing it), those unwanted templates still show up. I have checked the REST API interface of the map, and it still has all the templates.

In ArcMap, I can only see my desired templates, so I do not know how to find and delete those unwanted types/templates.

 

Here is the part of the REST API interface that shows the unwanted templates are there:

 

Types:       ID: B     Name: 1 PH     Domains:         phasecode:         Inherited         equipref:         Inherited         phase:         Inherited     Templates:         Name: 1 PH         Description:         Prototype:             phase: 6             secname: null             parentsec: null             phasecode: B             equipref: null             otype: null             sub: null             bay: null         Drawing Tool: esriFeatureEditToolLine     ID: C     Name: 1 PH     Domains:         phasecode:         Inherited         equipref:         Inherited         phase:         Inherited     Templates:         Name: 1 PH         Description:         Prototype:             phase: 6             secname: null             parentsec: null             phasecode: C             equipref: null             otype: null             sub: null             bay: null         Drawing Tool: esriFeatureEditToolLine     ID: BC     Name: 2 PH     Domains:         phasecode:         Inherited         equipref:         Inherited         phase:         Inherited     Templates:         Name: 2 PH         Description:         Prototype:             phase: 6             secname: null             parentsec: null             phasecode: BC             equipref: null             otype: null             sub: null             bay: null         Drawing Tool: esriFeatureEditToolLine     ID: AB     Name: 2 PH     Domains:         phasecode:         Inherited         equipref:         Inherited         phase:         Inherited     Templates:         Name: 2 PH         Description:         Prototype:             phase: 6             secname: null             parentsec: null             phasecode: AB             equipref: null             otype: null             sub: null             bay: null         Drawing Tool: esriFeatureEditToolLine     ID: ABC     Name: 3 PH     Domains:         phasecode:         Inherited         equipref:         Inherited         phase:         Inherited     Templates:         Name: Conductor         Description:         Prototype:             phasecode: ABC             equipref: #1/0 ACSR 6/1             otype: wire             phase: null             bay: null             secname: null             parentsec: null             sub: null         Drawing Tool: esriFeatureEditToolLine     ID: AC     Name: 2 PH     Domains:         phasecode:         Inherited         equipref:         Inherited         phase:         Inherited     Templates:         Name: 2 PH         Description:         Prototype:             phase: 6             secname: null             parentsec: null             phasecode: AC             equipref: null             otype: null             sub: null             bay: null         Drawing Tool: esriFeatureEditToolLine     ID: A     Name: 1 PH     Domains:         phasecode:         Inherited         equipref:         Inherited         phase:         Inherited     Templates:         Name: 1 PH         Description:         Prototype:             phase: 6             secname: null             parentsec: null             phasecode: A             equipref: null             otype: null             sub: null             bay: null         Drawing Tool: esriFeatureEditToolLine

Outcomes