Removing DefaultCommandLibrary

by Sep 19, 2022

šŸ’”Tip: Is DefaultCommandLibrary blocking your deployments?

Last week we had an issue deploying, because suddenly we had a dependency on a component library called DefaultCommandLibrary. Our quick fix was to add the dependency to the solution.

But then it was complaining about another dependency, called an App Element, which we couldn’t add to the solution using Power App Maker.

These components are created when you open the new Command bar designer. Somebody in our team played with it, but in the end didn’t add a button: these components were still added.

Lucky I found this blog post: Quick Fix ā€“ Canā€™t Delete That Command Bar Component Library? by Tae Rim Han. It explained the reason and how to fix it.

But I used SQL 4 CDS by Mark Carrington, my favorite go-to tool when working on Dataverse to fix the issue. I used the following queries to find the components:

SELECT * FROM appaction 
SELECT * FROM appelement  -- this one you can't delete from Power App Maker :-(

SQL 4 CDS also allows us to write INSERT-, UPDATE- and DELETE-statements so the issue was quickly resolved!

DELETE FROM appelement WHERE appelementid = '<the appelementid you want to delete>'

Did I tell you already that SQL 4 CDS is my favorite go-to tool?!

Remy van Duijkeren

Remy van Duijkeren

Power Platform Advisor

Microsoft Power Platform Advisor with over 25 years of experience in IT with a focus on (marketing) automation and integration.

Helping organizations with scaling their business by automating processes on the Power Platform (Dynamics 365).

Expert in Power Platform, Dynamics 365 (Marketing & Sales) and Azure Integration Services. Giving advice and strategy consultancy.

Services:
– Strategy and tactics advise
– Automating and integrating

Subscribe to
The Daily Friction

A daily newsletter on automation and eliminating friction

Related Content

Ever wished you could explain complex ideas in minutes?

Ever wished you could explain complex ideas in minutes? I just tried Loom and I'm blown away. šŸŽ„ With just one click, I can create professional-looking tutorials in a matter of minutes. No fuss, no hassleā€”just hit record and share instantly. This tool is a game-changer...

read more

The Art of Delegation: Toddler Edition

The Art of Delegation: Toddler Edition For the past two months, Iā€™ve been flying solo at home while my wife is off on a work adventure overseas. Itā€™s just me, our 1-year-old, and our 3-year-oldā€”and let me tell you, delegating has become my superpower. I used to help...

read more

Mastering Solo Parenting: My Five Tips!

Mastering Solo Parenting: My Five Tips! For the past two months, I've been managing the home alone while my wife is overseas for work. With our 1-year-old and 3-year-old in tow, I've discovered the secrets to survivingā€”and even thriving. Morning Alarm: ā° With less...

read more