Building a PCF Control that calls Context WebApi


Power Apps Component Framework (PCF) Controls can call WebApi operations. This article explains how to build a PCF control that calls the Context WebApi. The context.webAPI provides methods such as createRecord, deleteRecord, retrieveMultipleRecords, retrieveRecord, and updateRecord. To use the WebAPI, uncomment the feature-usage area in the ControlManifest.Input.xml file. The article provides code examples for each method, including creating a new account record, deleting an account, retrieving multiple accounts, retrieving a single account, and updating an account. The author also includes a promotional message about subscribing to their YouTube channel.


Article 16m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time