addFeatures abstract method

Future<void> addFeatures({
  1. required SharedTemplateFeatureCreationSet featureCreationSet,
})

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 _ArcGISFuture.getError 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.

Parameters:

  • featureCreationSet — The features created from a shared template.

Return Value: A Future that has no return value.