Skip to content
  • ClassificationInfo
  • class Esri::ArcGISRuntime::ClassificationInfo

    Provides the classification values applied to a portal item, along with the related banner text to display. More...

    Header: #include <ClassificationInfo.h>
    Since: Esri::ArcGISRuntime 300.0
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~ClassificationInfo() override
    QVariantMap attributes() const
    QString banner() const

    Detailed Description

    An item may be classified to control access to sensitive information.

    Member Function Documentation

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

    Destructor.

    QVariantMap ClassificationInfo::attributes() const

    Returns the item's classification attribute values.

    These attributes are defined in ClassificationMetadata::classificationValueProperties. The ClassificationMetadata::primaryAttribute is always present and has exactly one value. Other attributes may have zero, one, or several values.

    Returns the classification banner text indicating the sensitivity level of the item.

    The text is generated from the item's classification attributes according to schema rules configured in the portal. Clients should prominently display this banner to inform users of confidentiality requirements and necessary clearance levels. To style the banner appropriately, use the item's primary classification attribute value to look up the corresponding ClassificationValueProperty::backgroundColor and ClassificationValueProperty::textColor in ClassificationMetadata::classificationValueProperties.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.