---
schema_version: "1"
id: e2aa57be70d0cd9a10e4aa53f4fa86f19a66964cccb58c5e6623c2439cb983f0
title: ContextTypeEnum Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_canvas_ContextTypeEnum.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_canvas_ContextTypeEnum.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 958eb13fd9b4e4046261de545f80c50e22d1a0d94e514cad05a017bde753583e
description: Describes context data that can be excluded from canvas app context data. You specify which context types to exclude in the excludeContextTypes() method in your CanvasLifecycleHandler implementation.
---
# ContextTypeEnum Enum

Describes context data that can be excluded from canvas app context data. You specify which context types to exclude in the excludeContextTypes() method in your CanvasLifecycleHandler implementation.

## Namespace

[Canvas](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Canvas.htm "The Canvas namespace provides an interface and classes for canvas apps in Salesforce.")

## Enum Values

| Value | Description |
| --- | --- |
| ORGANIZATION | Exclude context information about the organization in which the canvas app is running. |
| RECORD\_DETAIL | Exclude context information about the object record on which the canvas app appears. |
| USER | Exclude context information about the current user. |