Context

Provides all the properties and methods available in the Power Apps component framework.

Available for

Model-driven apps and canvas apps (public preview)

client

Provides access to the methods to determine which client is being used, whether the client is connected to server, and what kind of device is being used.

Type: Client

device

Provides methods to use native device capabilities.

Type: Device

factory

Provides properties and methods to work with Popup services.

Type: Factory

formatting

Provides properties and methods to work with formatting.

Type: Formatting

mode

Provides access to methods to get the information about the current state of the code component.

Type: Mode

Provides navigation-related methods.

Type: Navigation

parameters

The data provided to the component. Structure defined by the component’s manifest, corresponding to parameter and data-set nodes.

Type: TInputs

resources

The resource interface of context.resource

Provides access to the methods to get all the information about the resource files defined in the manifest.

updatedProperties

An array of strings with values that have changed since the last time it was passed and parameters. updatesProperties is currently only supported for model-driven apps and always returns empty string for canvas apps.

Type: string[]

userSettings

Provides information about the current user settings.

Type: UserSettings

utils

Provides a container for useful methods.

Type: Utility

webAPI

Provides properties and methods to use Web API to create and manage records.

Type: WebApi

Power Apps component framework API reference
Power Apps component framework overview