web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 0YHXQ7+XIm+w4BE6Jwka0w
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Couldn't load one or more code components on this form

Like (0) ShareShare
ReportReport
Posted on 24 Jun 2021 11:36:33 by

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?

  • skoofy5 Profile Picture
    480 on 17 Sep 2021 at 04:03:13
    Re: Couldn't load one or more code components on this form

    I have a similar problem - but it happens randomly. Sometimes the control loads and sometimes an error pops up saying it wasn't able to load.

    skoofy5_0-1631857454411.png

    Here's my manifest - any ideas?

     

    <?xml version="1.0" encoding="utf-8"?>
    <manifest>
     <control namespace="SignatureControl" constructor="SignatureControl" version="0.0.4" display-name-key="SignatureControl" description-key="Allow users to add signature directly to a form." control-type="standard" preview-image="img/preview.png">
     <property name="signatureProperty" display-name-key="Signature Field" description-key="Property_Desc_Key" of-type="Multiple" usage="bound" required="true" />
     <property name="showClear" display-name-key="Show or hide clear option" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="input" required="true" default-value="true" />
     <property name="customId" display-name-key="Custom ID" description-key="If multiple controls on page this needs to be unique" of-type="SingleLine.Text" usage="input" required="true" default-value="signatureId" />
     <resources>
     <code path="index.ts" order="1" />
     <css path="css/SignatureControl.css" order="1" />
     <resx path="strings/SignatureControl.1033.resx" version="1.0.0" />
     </resources>
     </control>
    </manifest>

     

     

  • Hemant Gaur Profile Picture
    on 25 Jun 2021 at 17:01:09
    Re: Couldn't load one or more code components on this form

    please check if the control type is supported for Portal . If you can share teh control or just the manifest it would be helpful 

     

    Hemant 

  • Community Power Platform Member Profile Picture
    on 25 Jun 2021 at 01:29:59
    Re: Couldn't load one or more code components on this form

    I don't see the control's source code in my portal app but it shows when I load the form in my model driven app. Not sure what I have missed there.

  • cchannon Profile Picture
    4,702 Moderator on 24 Jun 2021 at 11:45:55
    Re: Couldn't load one or more code components on this form

    Not enough information to help. Have you tried debugging the control?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2