PopupExpressionEvaluation Class

  • PopupExpressionEvaluation
  • class Esri::ArcGISRuntime::PopupExpressionEvaluation

    The result of an attempt to evaluate a popup expression. More...

    Header: #include <PopupExpressionEvaluation.h>
    Since: Esri::ArcGISRuntime 100.8
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~PopupExpressionEvaluation() override
    Esri::ArcGISRuntime::Error error() const
    Esri::ArcGISRuntime::PopupExpression *popupExpression() const
    QVariant result() const

    Detailed Description

    The popup expression can come from the PopupDefinition::expressions or from the ExpressionPopupElement::popupExpression.

    Member Function Documentation

    [override virtual] PopupExpressionEvaluation::~PopupExpressionEvaluation()

    Destructor.

    Esri::ArcGISRuntime::Error PopupExpressionEvaluation::error() const

    Returns error information about the evaluation of PopupExpressionEvaluation::popupExpression().

    Esri::ArcGISRuntime::PopupExpression *PopupExpressionEvaluation::popupExpression() const

    Returns one of the Arcade expressions defined in the Popup at PopupDefinition::expressions or ExpressionPopupElement::popupExpression.

    QVariant PopupExpressionEvaluation::result() const

    Returns the result of an evaluation of popupExpression.

    The type of result object is a String, a Number, or a Dictionary based on the PopupExpression::returnType.

    Dictionary return type is only supported for popup expressions coming from a ExpressionPopupElement. In this case, the dictionary must follow the Web Map Specification for a popupElement. Refer to Popup Element for more details.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close