24041: Layer does not have a feature template set

Your layer does not have a feature template defined for it and you are publishing a feature service.

Solution

More information

Inserting new features through a feature service is accomplished using the feature templates from the map document. A template allows you to digitize a new feature and have the attributes set appropriately by default. If templates do not already exist, a default template is created per type when you start an edit session or publish the service. Within ArcMap, you can also create new templates or modify existing templates to customize the editing experience through the feature service. This includes setting a default construction tool which is used to create that type of feature.

There are different types of construction tools available depending on the type of feature the template will create. For example if you have a line template you can only select tools that can be used to create line features. The construction tool saved with the templates will be available through the feature service. The only exception is the point tool called Point At End Of Line, which is not supported by feature services.

Learn more about authoring feature services

12/18/2014