PCF Controls Tips & Tricks : How to detect Authoring Mode


When configuring a PCF control on a Dataverse model-driven app, detecting authoring mode during initialization can prevent design time issues. Instead of checking the origin URL, use the undocumented property `context.mode.isAuthoringMode` for a more concise and future-proof approach. This method simplifies control rendering in the form designer versus the actual application.


Article 3w

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