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 / Modifying Model-Driven...
Power Apps
Unanswered

Modifying Model-Driven app CSS

(0) ShareShare
ReportReport
Posted on by 22

Hi,

 

I have a requirement where I need to modify the background color of a control in model-driven app based on its value.

 

Is there a way to modify the external CSS?
or is there a workaround for this?

Thank you.

Categories:
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @Stewie25 If you're using standard controls in the Model Driven App, your desired behaviour will not be achievable. However, you may be able to find a custom control (eg from the PCF Gallery) or alternatively build your own using the PCF framework to achieve the desired effect

  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @Stewie25 

     

    This is something that I would never recommend to any person, changing or altering the xrm of a solution.

    One of the auto the box characteristics of the Model Driven is that they come with a preconfigured design and we must adapt to it.

     

    Currently there are mechanisms such as PCFs to create controls that help us add touches and customizations to model-based applications, here is the documentation to create PCFs

     

    Crear y generar un componente de código - Power Apps | Microsoft Learn

     

    In this link you have a gallery of components already built by community members who make their contributions

    Home | PCF Gallery

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard