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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Formatting App objects...
Power Apps
Unanswered

Formatting App objects based on data table values

(0) ShareShare
ReportReport
Posted on by 2

Hello everyone,

 

I’m building a contingency planning app which produces a series of action cards for people to use in the case or emergencies.

 

What I’m trying to do is to set the text and fill colours of objects within the pages to a pre-set colour defined in my data table.  I’ve tried pointing the fill colour to the table data (using AC_select_list.selected.Gallery_fill_colour, where the Gallery_fill_colour field is an extra column within the data table defining the action card and has the desired RGBA colour code)

 

Is this actually possible as most of the conditional formatting I’ve seen have concerned IF conditions and have defined colours within the formula itself

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Nealconyard 

     

    If the color values are coming from a datatable, then it is possible that it is identified as a string and not color value. I will suggest using variable or collections to return the color value. You can use RGBA(colorcode,1) to setup the color of your choice. This way it will be recognized properly and you can use it at all the Color type properties.

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard