Enums.ArcadeProfile enumeration

The Arcade profile specifies the context under which a script should be executed. This allows the script writer to program against a set of known profile variables and functionality restrictions that are appropriate for their use case. This includes the set of expected return types.

Usage of restricted functionality (e.g. FeatureSets) while working in the labeling profile results in an error. Often the restrictions are applied due to performance considerations.

Currently ArcGIS Runtime does not check the required profile variables are present for evaluation within a certain profile, nor does it check the return type is the expected type. We provide ArcadeEvaluationResult::castTo(Enums.ArcadeExpressionReturnType) function to convert the type of the evaluation result using Arcade casting rules.

The ArcadeProfile can be one of:

ConstantDescription
Enums.ArcadeProfileRestricted(0) Usage of any optional feature is blocked. Prefer this as your default.
Enums.ArcadeProfileUnrestricted(1) All optional functionality is allowed. The default profile due to compatibility reasons, prefer ArcadeProfile.restricted as default.
Enums.ArcadeProfileAlias(2) Alias profile. Alias profile functionality restrictions apply, only Alias profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileAttributeRuleCalculation(3) Attribute Rule Calculation profile. Attribute Rule Calculation profile functionality restrictions apply, only Attribute Rule Calculation profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileAttributeRuleConstraint(4) Attribute Rule Constraint profile. Attribute Rule Constraint profile functionality restrictions apply, only Attribute Rule Constraint profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileAttributeRuleValidation(5) Attribute Rule Validation profile. Attribute Rule profile functionality restrictions apply, only Attribute Rule profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileConstraint(6) Constraint profile. Constraint profile functionality restrictions apply, only Constraint profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileDashboardFormatting(7) Dashboard Formatting profile. Dashboard Formatting profile functionality restrictions apply, only Dashboard Formatting profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileDashboardData(8) Dashboard Data profile. Dashboard Data profile functionality restrictions apply, only Dashboard Data profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileDictionaryRenderer(9) Dictionary Renderer profile. Dictionary Renderer profile functionality restrictions apply, only Dictionary Renderer profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileFeatureZ(10) Feature Z profile. Feature Z profile functionality restrictions apply, only Feature Z profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileFieldCalculation(11) Field Calculation profile. Field Calculation profile functionality restrictions apply, only Field Calculation profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileFieldMapping(12) Field Mapping profile. Field Mapping profile functionality restrictions apply, only Field Mapping profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileGeoanalytics(13) Geoanalytics profile. Geoanalytics profile functionality restrictions apply, only Geoanalytics profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileLabeling(14) Labeling profile. Labeling profile functionality restrictions apply, only Labeling profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileLayout(15) Layout profile. Layout profile functionality restrictions apply, only Layout profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileMeasureVisualization(16) Measure Visualization profile. Measure Visualization profile functionality restrictions apply, only Measure Visualization profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfilePopup(17) Popup profile. Popup functionality profile restrictions apply, only Popup profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileVelocity(18) Velocity profile. Velocity profile functionality restrictions apply, only Velocity profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileVisualization(19) Visualization profile. Visualization profile functionality restrictions apply, only Visualization profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileGeotriggerNotification(20) Geotrigger Notification profile. Geotrigger Notification profile functionality restrictions apply, only Geotrigger Notification profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileFormCalculation(21) Form Calculation profile. Form Calculation profile functionality restrictions apply, only Form Calculation profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileTask(22) Task profile. Task profile functionality restrictions apply, only Task profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfilePopupElement(23) Popup Element profile. Popup Element profile functionality restrictions apply, only Popup Element profile variables should be made available. See Arcade profile documentation.
Enums.ArcadeProfileLocationUpdateConstraint(24) Location Update Constraint profile. Location Update Constraint profile functionality restrictions apply, only Location Update Constraint profile variables should be made available. See Arcade profile documentation.

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