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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

PCF Framework

(0) ShareShare
ReportReport
Posted on by 4

 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?

I have the same question (0)
  • Danish N. Profile Picture
    186 on at
    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-component-framework-for-canvas-apps/
  • AnnThomas Profile Picture
    4 on at

    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

  • Danish N. Profile Picture
    186 on at
    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.
  • JP-09110045-0 Profile Picture
    on at

    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.

  • Sheldon Copper Profile Picture
    200 on at

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

  • Hemant Gaur Profile Picture
    on at

    @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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 402

#2
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 293 Super User 2025 Season 2

Last 30 days Overall leaderboard