cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joerio
Level: Powered On

Couldn't import components (PCF)

I created a simple button component to test the code components framework.  I build the solution and uploaded/published it successfully. 

In a powerapp, after enabling components, I see my component in the import window. However, when I actually try to add it to my PowerApp I always get the error "Couldn't import components".

No other error message is displayed, and the component isn't added. Is there somewhere I can see what the actual issue is, and how I can solve this?

3 REPLIES 3
Community Support Team
Community Support Team

Re: Couldn't import components (PCF)

Hi @joerio ,

If you not give me error message, it's hard to find where the problem is.

Please check this issue, did you meet problem like this:

https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/Unable-to-import-Components/m-p/270...

Maybe you could check the component limit to see whether you made mistake here:

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/limitations

Still many functions are not supported yet.

If the problem still exists, please ask for help here:

https://powerapps.microsoft.com/en-us/support/pro/ticket/

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
joerio
Level: Powered On

Re: Couldn't import components (PCF)

@v-yutliu-msft The whole issue is that I don't get any error message that could point me to the right direction

 

I see my component in the list and can select it.

ImportComponents.png

 

However, when I click the import button I only see this red banner with "Couldn't import components". No other error message is shown anywhere.

CouldntImport.png

 

How can I figure out what the actual exception is that is being thrown?

 

Power Apps Staff jopursle
Power Apps Staff

Re: Couldn't import components (PCF)

Hi @joerio 

Can you share out the ControlManifest.xml file from the control package you are trying to import?

The issue is probably due to using a tag in the xml file that Canvas doesn't support in loading yet like 'img'.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Users online (5,762)