Edit

Power Pages client APIs (preview)

[This article is prerelease documentation and is subject to change.]

Power Pages client APIs help developers manipulate UI components, manage forms and lists, handle user authentication, and interact with Dataverse records programmatically. The client API becomes available when your page loads and can be accessed through a global variable with a name you choose.

Important

  • This is a preview feature.
  • Preview features aren’t meant for production use and might have restricted functionality. These features are subject to supplemental terms of use, and are available before an official release so that customers can get early access and provide feedback.

This documentation uses the variable name $pages throughout examples and recommends you follow this naming convention for consistency.

By using the $pages client API, you can:

  • Retrieve and modify forms and form controls
  • Validate data that people enter in form controls
  • Show or hide UI elements
  • Read and style rows, columns, and cells in modern lists
  • Create, retrieve, update, and delete records by using the Web API
  • Upload and download files and images stored in file and image columns
  • Manage user authentication
  • Work with multilingual content
  • Call server logic, cloud flows, and other custom endpoints by using the Ajax API
  • Communicate with Microsoft Copilot Studio agents

Client API reference

Area Reference
Initialization Client API initialization
Forms, tabs, and sections Client API forms, tabs, and sections
Controls Client API controls
Control types Client API control types
Lists Client API lists
User authentication Client API user authentication
Dataverse records, files, and images Client API Dataverse records, files, and images
Languages Client API languages
Server endpoints and cloud flows Client API server endpoints and cloud flows
Copilot Studio agents Client API Copilot Studio agents