Announcements
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.
@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
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 220 Super User 2026 Season 2
WarrenBelz 194 Most Valuable Professional
Mohsin Ali 150