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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error when creating co...
Power Apps
Suggested Answer

Error when creating component library to use Power Fx for changing command line button visibility

(1) ShareShare
ReportReport
Posted on by 3
I am trying to change the visibility of a command line button with Power Fx in my model-driven app. To enable Power Fx i have to create a Component Library: 



When i try to create a component Library, I get the following error:

I have also tried creating a component library seperately. However, it did not resolve the issue, in the library i am unable to connect my data sources. 


How do I resolve this?
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
     
    To use Power Fx in your Model-Driven App for managing command line button visibility, you indeed need a Component Library.
    Ensure your environment has Power Apps Premium Licenses to use advanced features like command designer with Power Fx. If the Component Library feature continues to fail, report the issue via the Power Platform Admin Center or contact Microsoft Support.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard