• FeatureEditResult
  • class Esri::ArcGISRuntime::FeatureEditResult

    The result of an attempt to apply a local feature edit to a feature service. More...

    Header: #include <FeatureEditResult.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::EditResult

    Public Functions

    virtual ~FeatureEditResult() override
    QList<Esri::ArcGISRuntime::EditResult *> attachmentResults() const

    Detailed Description

    You can attempt to apply feature edits to a feature service by calling ServiceGeodatabase::applyEditsAsync. When complete, a collection of FeatureTableEditResult objects is returned. There is one FeatureTableEditResult for each edited ServiceFeatureTable in the ServiceGeodatabase.

    Each FeatureTableEditResult has a collection of FeatureEditResult objects. There is one FeatureEditResult for every feature edit attempted on the ServiceFeatureTable. If a feature edit fails to be applied, the EditResult::isCompletedWithErrors value will be true and you can investigate the failure using the EditResult::error.

    Relevant samples:

    Member Function Documentation

    [override virtual noexcept] FeatureEditResult::~FeatureEditResult()

    Destructor

    QList<Esri::ArcGISRuntime::EditResult *> FeatureEditResult::attachmentResults() const

    Returns the results of the attachment edits of this feature.

    This returns a list containing the result of all the attachment edits of this feature. If no attachments were edited, this returns an empty list