Context
Provides all the properties and methods available in the Power Apps component framework.
FAQ: How can I access the record ID or table name?
Available for
Model-driven apps, canvas apps, & portals.
Properties
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
events
Provides methods to call maker-defined Power Fx events that are configured in Power Apps Studio.
Type: Events
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
navigation
Provides navigation-related methods.
Type: Navigation
parameters
The data provided to the component. Structure defined by the component's manifest, corresponding to parameter and dataset nodes.
Type: IInputs
resources
The resource interface of context.resources
Provides access to the methods to get all the information about the resource files defined in the manifest.
Type: Resources
updatedProperties
An array of strings with values that changed since the last time it was passed and parameters. More information: updatedProperties
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
Related articles
Power Apps component framework API reference
Power Apps component framework overview
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho