cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

PCF Framework

 I created a custom component in Powerapps component framework and uploaded it to CDS. But when I try to import the component in canvas app , it gives me an error "The data you want to open is not a msapp file". How can i resolve it?

6 REPLIES 6
Highlighted

Re: PCF Framework

I believe you are trying to use canvas app component import feature which is different than PCF Custom Control. Try to enable Custom Control import by following this documentation.

https://powerapps.microsoft.com/en-us/blog/announcing-experimental-release-of-the-powerapps-componen...
Highlighted
Frequent Visitor

Re: PCF Framework

I followed the same link. I activated the powerapps component framework also the component in App. But code(experimental) is not seen when i click import component. Instead i only have option to upload a data or select from the list(which lists only powerapps with components)

component.PNG

Highlighted

Re: PCF Framework

You might have already checked this but just trying to identify what’s missing. Another thing to check would be if you are in the correct environment when creating the canvas app. If you are in “Default” then change it to appropriate environment where custom control was added. And make sure when you import the solution file, you publish the customization.
Highlighted
Power Apps
Power Apps

Re: PCF Framework

In order to see the Code (Experimental) tab you also need to have the canvas feature of "Improved data source experience and Common Data Service view" enabled in  App settings > Advanced settings > Preview Features as well.

 

This extra feature enable requirement is being removed the a future version, but hasn't rolled out to release yet.  See if enabling this feature fixes the issue of the tab not being found.

Highlighted
Resolver I
Resolver I

Re: PCF Framework

Check if you are using <usesfeature> in ControlManifest.input.xml file,uncomment it at present PCF doesnt support webapi and utility in canvas app 

Highlighted
Power Apps
Power Apps

Re: PCF Framework


@AnnThomas wrote:

 I created a custom component in Powerapps component framework and uploaded it to CDS. But when I try to import the component in canvas app , it gives me an error "The data you want to open is not a msapp file". How can i resolve it?


https://aka.ms/PCFCanvasBlog 

 

1. Admin setting is set to true for using PCF canvas components  

2. At the app level component experimental feature is turned on

 

You should be able to see the components tab if above are completed. 

 

For the PCF components to show up, make sure that the right CDS environment with the PCF solution is chosen and the PCF controls are of field type. Use the samples if you dont have any.

 

Hemant

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,627)