Views:

Applies to Product - Power Pages


What’s happening?
The PCF control and multi-select control are not rendering properly on the portal. This may manifest as an error loading control or the controls not being visible in the form.


Reason:

  • The multi-select control is an out-of-the-box (OOB) feature, and there is a custom-built PCF control for address validations. Both controls are not rendering correctly in the affected environments.
  • A specific error encountered is "ReferenceError: MscrmCommon is not defined," which indicates a potential issue with the JavaScript libraries required for these controls.

 

Resolution:
For the PCF control and multi-select control rendering issue:
  1. Verify the app settings for the portal. Specifically, ensure that the "EnablePCF" AppSetting is correctly configured.
  2. After making the necessary adjustments to the app settings, check if the controls render properly on the portal page.
For the OOB multi-select control issue:
  1. Check for any custom scripts, third-party plug-ins, or workflows that may interact with the multi-select picklist controls. Disable these customizations in a safe testing environment to see if this resolves.
  2. Inspect the browser console for any script errors when this occurs, as they could provide insights into script-related issues.
  3. Run the Site Checker tool to identify any configuration issues related to the Entity Form, Multi-step form, and Quick form.