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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Couldn't load one or m...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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?

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

  • Hemant Gaur Profile Picture
    Microsoft Employee on at

    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 

  • skoofy5 Profile Picture
    482 on at

    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>

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard