This article discusses how to detect if a Power Apps Component Framework (PCF) is running inside a Canvas App or Custom Page. The author suggests adding a property to the manifest file that can detect the context. By using the "pfx-default-value" property, the PCF can determine if it is being used in a Canvas App or Custom Page. The author provides code examples and screenshots to demonstrate the process. This method is supported and provides a reliable way to determine the context of the PCF.
Login now to access my digest by 365.Training