cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PeFelt
Level: Powered On

Color coded events based on sharepoint calendar categories

Hi, I just started learning PowerApps and I found this great tutorial about building an event calendar, which is exactly what I am trying to achieve https://youtu.be/1rsyyYiI4sU

Unfortunately I could not figure out how to change the color properties of different events, based on their category.
I have a minimum of 3 to 5 categories and from a UX point of view giving each category a distinct color would be ideal.

any advice is greatly appreciated! Thanks!

3 REPLIES 3
Super User
Super User

Re: Color coded events based on sharepoint calendar categories

Put an If Statement on your gallery template fill

 

so If(Criteria="Whatever",Red,Criteria="Whatever2",Green)..etc.

PeFelt
Level: Powered On

Re: Color coded events based on sharepoint calendar categories

Thanks for the speedy reply
I think that is exactly what I was trying to do, but in powerapps I could not figure out how to reference or even see the different categories that I had assigned for the events in sharepoint. I think it might have something to do with the prefrences I gave to the sharepoint calendar and categories being "choises" which  got me all sorts of confused. I will continue figuring this out tomorrow and hopefully get a color change done Smiley Very Happy

Super User
Super User

Re: Color coded events based on sharepoint calendar categories

If it is a choice field you do ColumnName.Selected.Value="Text" and it will work fine. Let me know if you need help on the details.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 223 members 4,567 guests
Please welcome our newest community members: