I have created a custom pcf control which works fine in D365 environment but after configuring this control for portal app following this document:
https://docs.microsoft.com/en-us/powerapps/maker/portals/component-framework-tutorial
after configuring when I load the page getting such error:
Couldn't load one or more code components on this form.
Couldn't load code component for Name (name) because of an unknown problem.
instead of showing my pcf control it's showing the default control.
what I have done wrong?