Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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 at
    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 at
    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 at
    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 Super User 2025 Season 1 on at
    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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 87 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

Overall leaderboard