cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DianaBirkelbach
Super User
Super User

How to delete a PCF component from a CanvasApp

I've installed a PCF Component in a CanvasApp, and later on I wanted to delete it. 

The documentation says, that there should be a delete button for that: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/component-framework-for-can... but I couldn't find it.

DeleteFRomCanvasApp.pngIt's true that I could delete the solution and that deleted also the PCF component from my CanvasApp, but I wonder if there is a "Delete" button in the CanvasApp designer.

 

 

Best regards,

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
2 ACCEPTED SOLUTIONS

Accepted Solutions
a-ovbord
Community Support
Community Support

Hi @DianaBirkelbach,

 

I imported a color component (not sure if it's the same you used, this should not matter) into a canvas app and I was given the option to delete it:

image.png

If yours was a solution it's possible that by deleting the solution it could affect the reference you had in the app.

You could try adding it again and check if you can delete it from components.

But definitely components can be deleted and the button is there.

 

Thank you,

Ovidiu

View solution in original post

Hi @DianaBirkelbach 

To remove a PCF component, you need to remove all instances of the PCF control from the screens.  It will still show on the sidebar list until you save/close the app and reopen.

Just note that there is still an issue where resources will be left behind, so make sure that you aren't going to re-add the control again later.  The bug has been fixed, but it will take a few weeks to make it to prod.

View solution in original post

5 REPLIES 5
a-ovbord
Community Support
Community Support

Hi @DianaBirkelbach,

 

I imported a color component (not sure if it's the same you used, this should not matter) into a canvas app and I was given the option to delete it:

image.png

If yours was a solution it's possible that by deleting the solution it could affect the reference you had in the app.

You could try adding it again and check if you can delete it from components.

But definitely components can be deleted and the button is there.

 

Thank you,

Ovidiu

View solution in original post

Hi Ovidiu @a-ovbord ,

 

I think the difference is that I have a PCF component (so a TypeScript - code based component) , while you are using a CanvasApp component.

It was this PCF (https://pcf.gallery/wheel-color-picker/) but I don't find the delete option for any of my PCF components imported in a CanvasApp.

 

Best regards,

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

I have no idea who set this question as solved. It's not solved, since I reported a PCF(Code based)-Control Problem.

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Hi @DianaBirkelbach 

To remove a PCF component, you need to remove all instances of the PCF control from the screens.  It will still show on the sidebar list until you save/close the app and reopen.

Just note that there is still an issue where resources will be left behind, so make sure that you aren't going to re-add the control again later.  The bug has been fixed, but it will take a few weeks to make it to prod.

View solution in original post

Thank you @jopursle . 

By closing/reopening the App, it worked.

Thank you for the warning.

Best regards,

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,078)