ArcadeConsoleMessageContext Class

  • ArcadeConsoleMessageContext
  • class Esri::ArcGISRuntime::ArcadeConsoleMessageContext

    Provides information about the execution context where an Arcade console function is invoked. More...

    Header: #include <ArcadeConsoleMessageContext>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~ArcadeConsoleMessageContext() override
    QMap<QString, QString> information() const
    Esri::ArcGISRuntime::ArcadeProfile profile() const

    Detailed Description

    Member Function Documentation

    [override virtual] ArcadeConsoleMessageContext::~ArcadeConsoleMessageContext()

    Destructor.

    QMap<QString, QString> ArcadeConsoleMessageContext::information() const

    Returns a dictionary of optional context information when the Arcade console function is invoked.

    If this is an ArcadeProfile::AttributeRuleConstraint or ArcadeProfile::AttributeRuleCalculation, expect information to include the following keys:

    • ruleName - The name of the attribute rule that invoked the Arcade console function.
    • tableName - The name of the ArcGISFeatureTable evaluating the attribute rule.

    Esri::ArcGISRuntime::ArcadeProfile ArcadeConsoleMessageContext::profile() const

    Returns the ArcadeProfile that invoked the Arcade console function.

    Arcade console messages may be sent from different execution contexts, for example:

    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