add Features
Adds a set of features created from a shared template to the database. This method adds features into their respective layer or table in the database, along with their related records and utility associations, all within a single transaction.
To add features created from an association-enabled SharedTemplate, you must already have an UtilityNetwork instance from the same data source. An association-enabled shared template has a non-empty PresetTemplateDefinition.presetTemplateAssociations collection or a GroupTemplateDefinition.canCreateUtilityAssociations value of true. The UtilityNetwork can be retrieved from the same ArcGISMap or Geodatabase, or created with the same ServiceGeodatabase that is the shared template source.
If the Result.exceptionOrNull property is null, all features and their associations are added successfully. If not, it reflects the first error encountered, and neither features nor associations are added.
Return
A Result that has no return value.
Since
300.0.0
Parameters
The features created from a shared template.