Microsoft Lists Calendar Color Coding with View Formatting

Поділитися
Вставка
  • Опубліковано 5 гру 2024

КОМЕНТАРІ • 105

  • @cptcavernicola
    @cptcavernicola 2 роки тому +5

    I have been waiting for a sample like this, thank you 🙏 April

    • @AprilDunnam
      @AprilDunnam  2 роки тому

      You're welcome! Thanks for watching :)

  • @shawnenvik3721
    @shawnenvik3721 2 роки тому +13

    Great video!
    A tip for troubleshooting if this doesn't work right away for a viewer; make sure you are referencing the column's "internal name" which may not be the same as how you named it in your list view. I ran into this and it took me a bit to resolve it. You can find the internal name by:
    1. Go to "All Items" view
    2. Filter the column you want to color code (filter by any entry in the list, it doesn't matter)
    3. Look in the web URL link at the top of your window and look for "FilterField1=xxxxxxx". Your internal name will be shown instead of the x's and keep in mind that it IS case sensitive.
    4. Use this internal name instead of your column name when you're switching out the Title field in your calendar conditional formatting JSON section.

    • @timklimavicz6313
      @timklimavicz6313 2 роки тому +1

      Thanks for this tip!

    • @jdd1070
      @jdd1070 2 роки тому +2

      THANK YOU, Shawn, for posting this! I thought I was going crazy trying this a few times with no color coding changing, the internal column name was different because I started from a list template. It works now, thank you again! :)

    • @shawnenvik3721
      @shawnenvik3721 2 роки тому

      @@jdd1070 glad it helped!

    • @r0ricker
      @r0ricker Рік тому

      I am still having trouble...

    • @LauraLuisaRosenberg
      @LauraLuisaRosenberg 8 місяців тому

      I tried to do this, but it still not works for me. I checked even the columns internal names with microsoft graph. Funny it is working for 2 columsn (Title and a Choice Column) and not for any other column, doesnt matter if choice or string.

  • @GuyBerthiaume-ScaleModels
    @GuyBerthiaume-ScaleModels 2 роки тому +18

    A better and simpler solution is to go into the list settings, edit the calendar view (bottom of the list settings page), enable the display option for the field you want to use, and save. Now when you add a condition the field will appear in the dropdown without the need to play with JSON code.

    • @robynpatrick8528
      @robynpatrick8528 2 роки тому

      GENIUS! I appreciate you

    • @יהודהונסובר
      @יהודהונסובר 2 роки тому

      @@robynpatrick8528 Awesome!! Thanks a lot!!!

    • @rodeolove
      @rodeolove Рік тому

      Yeah... I'm wondering if that wasn't available when she made this... otherwise it seemed really out of the way.

    • @chrisslc1106
      @chrisslc1106 Рік тому +1

      this is the way.

    • @MoodyMolavi
      @MoodyMolavi 5 місяців тому

      I learned more about MS Lists doing it both ways, but the JSON edit way does not show the color coding every time we view the calendar. We have to tap between views to get it to show as designed. When I did it through the List settings, it works every time we look at the calendar view. Thanks to both of you for taking time to share your knowledge!

  • @martylewis.operations
    @martylewis.operations 2 роки тому +2

    Thanks April :) this was mega helpful. Accidentally, I also found another user friendly work around formatting. If you go List settings from the site cog in top right > then select the view you want to edit > you can then add fields to show. When you add these (technology say) you can then filter on them directly and means you don't have to edit the JSON. Thanks again

  • @stefancochrane2723
    @stefancochrane2723 Рік тому +1

    At 5:40, instead of using the "Title" field to add the rules, you could have added the "Technology" column into the calendar view first. This would have added the "Technology" option when selecting the color codes. This way, there's no need to update JSON code directly.

  • @jenniferlycke1695
    @jenniferlycke1695 2 роки тому +4

    Nice! Yes, would love more list formatting videos

    • @AprilDunnam
      @AprilDunnam  2 роки тому +2

      Noted!

    • @EJA1969
      @EJA1969 2 роки тому

      For example, can we now create hover cards from Calendar events? Or at least beef up the tool tips?

    • @bigjonradio
      @bigjonradio 2 роки тому

      @@EJA1969 take a look at Chris Kent's site & videos. He's a master of JSON formatting. Has a few videos about how you can reformat events cards, so might put you on the right track!

  • @dougydoe
    @dougydoe 2 роки тому +1

    Awesome! Another cool and handy tip there. Having moved away from SharePoint and focusing on the Power Platform in recent years, I haven't kept up with SP that much but good to pickup these tips every now and then. Yes, more of List formatting and handy SharePoint tips would be extremely welcomed.

  • @InesKondor
    @InesKondor 2 роки тому +1

    Brilliant! Many thanks, April.
    I also would love the ability to show multiple fields in the calendar view.
    While hopefully Microsoft will enable this functionality sooner or later, would you know a "workaround" until then, please?

  • @andrenalinarg
    @andrenalinarg 8 місяців тому +2

    Thank you a lot for your video! However, it's 2024 now and apparently there is an option if you go to your calendar list (where All items and the Calendar view can be set) and at the bottom of the list there's an option called: Add or remove fields.
    If you select the field you want to color and click on apply on the top of the menu, you will find later in the formatting menu the option of the field you selected (as shows the video). All this without the workaround of the video. I found it out by chance and I decided to share it so it can be useful for others.

    • @StephenFulton-n7i
      @StephenFulton-n7i 8 місяців тому

      I have tried both ways and i still cant get the calender to apply the conditional formatting!

  • @mce8183
    @mce8183 4 місяці тому

    Perfect!!! I really appreciate you sharing these to everyone. I do have one request, I was asked to show a column when that is not showing in the calendar box. How do i do that, example, a column called "room number" is in the SharePoint List but in the calendar view or in the Event List it only shows the start date, and the title.

  • @nadinemcmahon3770
    @nadinemcmahon3770 2 роки тому

    Perfect, great workaround, and love to see the formatting there on the calendar. That's been putting me off using it more. Thank you!

  • @thatmattwade
    @thatmattwade Рік тому

    Thanks for coming in clutch for my users once again!

  • @leanneedwards4530
    @leanneedwards4530 5 місяців тому +1

    Hi April, I tried the JSON cheat tips you provided. Loved this, however, my calendar didn't change colours? I've matched everything you've provided and it seemed like there's no differences. I use a different category name and used this to replace the "title" field. On preview and saving I just have the grey colour throughout. I've cancelled and retried with no luck. Any other workarounds you can suggest?

  • @BulbDigital
    @BulbDigital 2 роки тому

    Great video April! Kind of silly Microsoft doesn't have a more user-friendly way to do this, but we're glad there's at least a workaround.

    • @AprilDunnam
      @AprilDunnam  2 роки тому

      Thank you! It is a bit silly but glad there is a way around it :)

    • @andrenalinarg
      @andrenalinarg 8 місяців тому

      Thank you a lot for your video! However, it's 2024 now and apparently there is an option if you go to your calendar list (where All items and the Calendar view can be set) and at the bottom of the list there's an option called: Add or remove fields.
      If you select the field you want to color and click on apply on the top of the menu, you will find later in the formatting menu the option of the field you selected (as shows the video). All this without the workaround of the video. I found it out by chance and I decided to share it so it can be useful for others.
      @@AprilDunnam

  • @EJA1969
    @EJA1969 2 роки тому +6

    If you add the field you want to reference to the view through the old Edit View interface (by clicking on the view name in List Settings) it becomes available as a choice in the simple conditional formatting, and you never need to edit the JSON!

    • @EJA1969
      @EJA1969 2 роки тому +3

      Also, if it's a Choice column, you get to select from your list of choices.

  • @SeoKayo
    @SeoKayo Рік тому

    Brilliant! I've watch tons of tutorial and yours standout by making a complex tasks easy. I created a leave request calendar and set the Calendar View - the only problem I have is that we can only choose one Filed yo use (example, Title or Technology Field) - It would be nice if the List in a Calendar View allows t wo or more Fields to Display.

  • @morgantitus248
    @morgantitus248 11 місяців тому

    Thanks April that was very helpful! Do you know a way to display more than one column value as the display title in the calendar view?

  • @carlamurray1349
    @carlamurray1349 2 роки тому +2

    Thanks April. Any idea how to have this colour coding carry over to the List embedded as a tab in Teams? Colour coding disappears when the calendar is surfaced here.

  • @73827935
    @73827935 2 роки тому +1

    Hi April,
    Great resource, thank you.
    One question I have is to add to visual formatting, is it possible for you to add additional information from the list to the events in the calendar view? In your example, the Technology column, would it be possible to add the words to the 'event card' on the right using JSON or other methods?

    • @littlepuns
      @littlepuns Рік тому

      I'm also interested in this!

  • @KellyBeck-lk8kg
    @KellyBeck-lk8kg Рік тому

    Very helpful! Thank you!!!

  • @rdoublya
    @rdoublya 2 роки тому

    Awesome video April! I am learning so much from yopur videos!

  • @kjaconsulting1383
    @kjaconsulting1383 2 роки тому

    Good stuff April!! Thanks!

  • @pawanmishra6549
    @pawanmishra6549 2 роки тому

    Very helpful, thanks April !!

  • @babukurapati80
    @babukurapati80 2 роки тому

    Great ,Thank you so much April!

  • @gatorhd732
    @gatorhd732 2 роки тому

    Sometimes I think you can read my mind 😂 you post exactly things I‘m currently dealing with

  • @RichardNievesNY
    @RichardNievesNY Рік тому

    Great tip. I subscribed!! Thank you

  • @davidforbes72
    @davidforbes72 2 роки тому +4

    Cool, it works, I just tried it out! But there is one flaw: When setting it as default view it doesn't show the colours. You need to first change view and then back to the calendar view to see the colours. But maybe something that can be fixed via JSON

    • @davidforbes72
      @davidforbes72 2 роки тому +3

      By adding the field with the color-coding information to the view itself it is solved!
      🙂

    • @AprilDunnam
      @AprilDunnam  2 роки тому +3

      Oooh that's an interesting quirk. I didn't try making it the default view. Good to know that the field with color coding info has to be there in the default view. I'll add that to my video description for clarification. Thanks for that!

    • @davidforbes72
      @davidforbes72 2 роки тому

      @@AprilDunnam Glad to help! 👍

    • @ForzaJonesy
      @ForzaJonesy 2 роки тому

      wow thank you so much April! Sharepoint can be so good so why do they make it so difficult to use! maybe theyve tried to give as much functionality with a tight deploy date and are working on all these front end issues as we speak. getting into JSON shouldnt be normal practice for a team calendar! my colour coding didnt work even when switching views. I had to make a new view by Type of Time Off rather than the Title. make the colour coding , and then go back to edit view and change back to Title. Looks great now, but takes so much time fiddling and researching how to's. thanks!

    • @יהודהונסובר
      @יהודהונסובר 2 роки тому

      @@davidforbes72 It was happen to me too. But the only way I can see the colors is only of the main column is equal to the filed in the JSON

  • @challasubrahmanyam2900
    @challasubrahmanyam2900 8 місяців тому

    Thank you so much for this April.

  • @rielevinzon3410
    @rielevinzon3410 Рік тому

    Thank you for the helpful video. I have a problem showing the color code when using the list web part to show the calendar view. As soon as I publish the page, color codes disappear and revert back to the default color. Any suggestions?

  • @annatesta4196
    @annatesta4196 2 роки тому

    Dear April, thank you so much for your terrific and inspiring video tutorials.
    Would you perhaps, please, know if and how we could change a condition to "field contains" vs. "==" which does not seem to work for me for a text field (choice does work)?

    • @lawnsandthings5991
      @lawnsandthings5991 9 місяців тому

      I changed "==" to "startsWith" and it worked for me, but you may need something else depending on what you're trying to exclude.

  • @paulinacieloch8529
    @paulinacieloch8529 2 роки тому

    Thank you! It's very useful:)

  • @rauseomo
    @rauseomo Рік тому

    Hi, thanks for your videos,. I have a question do you know or you have a video using app calendar? A need to change names, remove items from add new element in calendar. No a calendar from list, I need that from addig a new app calendar
    . Helpppp

  • @eeja5795
    @eeja5795 Рік тому

    Hi April, do you know how to add in Public Holiday in the calendar? Tks

  • @spen2431
    @spen2431 2 роки тому

    Brilliant 💥 Thanks April

  • @nottodaythankyou-gr8
    @nottodaythankyou-gr8 16 днів тому

    Love this feature, does anyone know how to swap out the sp-css colours for hex codes instead? I've tried everything I know of, it's beaten Copilot as well :(

  • @rodeolove
    @rodeolove Рік тому

    Can you add a filter to this calendar to only see Power Automate or Power Apps? I need to do something similar for my company but would like them to have the option to only view by "Specific Technology"

  • @Aristotin
    @Aristotin 2 роки тому

    Excellent, thanks!

  • @91freckles
    @91freckles Рік тому

    Is it possible to have multiple dates associated with a single item and have them each show as a single calendar entry rather than a range of dates on a calendar?

  • @eduardoaraya7092
    @eduardoaraya7092 2 роки тому

    awesome!! thank you!

  • @flip530
    @flip530 10 місяців тому

    THANK YOU!!!

  • @kerenferrisandco
    @kerenferrisandco 7 місяців тому

    how can you add the start time? and can you click on it to download to outlook calendar?

  • @spartanwarr5935
    @spartanwarr5935 7 місяців тому

    Hello April - SharePoint have only "equal to" or "not equal to" - is there a way to do "contains" a certain type of string?

  • @jdanderson0261
    @jdanderson0261 Рік тому

    Close, but yet so far! Works great for something like this example where you use a text or choice field for the conditional formatting and a text or choice field to display on the calendar. Strangely, if you use a choice field for the conditional formatting and display a person field on the calendar the formatting doesn’t work. Using this to format a leave calendar requires you to copy the display name from the person field into a text field and use it to display. Also, the conditional formatting does not display when the calendar is on a Teams tab. Hopefully I am wrong and someone will correct me. Otherwise, the functionality will likely improve in future releases.

  • @LauraLuisaRosenberg
    @LauraLuisaRosenberg 8 місяців тому

    When I am refreshing the page is going back to the grey color for all entries. Any idea why? Same on my Sharepoint Page I embedded the calender.

  • @michaeldavis9954
    @michaeldavis9954 2 роки тому

    Fantastic!

  • @WELUVYOU-REDD
    @WELUVYOU-REDD 7 місяців тому

    Can we map multiple list to one calendar

  • @Loremaster69
    @Loremaster69 11 місяців тому

    Strange, even though I set the colors for my Categories, one of the colors is different in both List and Calendar view, also how do you get a Legend on the side like the Classic Calendars had so you KNOW what you are doing???

  • @lovidyahelmi5937
    @lovidyahelmi5937 2 роки тому

    Woww thank you so much!

    • @AprilDunnam
      @AprilDunnam  2 роки тому

      You're welcome!

    • @lovidyahelmi5937
      @lovidyahelmi5937 2 роки тому

      @@AprilDunnam Hi April, is it possible to adjust lengths in calendar views? And what should I check (probably the formatting) if the coding that you give couldn’t works in our calendar? Thank you so much once again.

    • @יהודהונסובר
      @יהודהונסובר 2 роки тому

      @@lovidyahelmi5937 See comments above. You will find the solution

  • @evav.5169
    @evav.5169 2 роки тому

    THANK YOUUU !

  • @LauraLuisaRosenberg
    @LauraLuisaRosenberg 8 місяців тому

    Hey I am really struggling, It works for 2 columns (Title and a choice column) but not all the others (string or choice columns). I checked for the internal names even with the microsoft graph. But still running into this issuse, dont know how to fix it. I have a normal SP List.

  • @sastreaj
    @sastreaj 2 роки тому

    Hi, Tried it and it worked fine on the Windows desktop app but it’s not working when I view the same calendar view in Teams. Any idea?

  • @baldytyre
    @baldytyre 4 місяці тому

    Brilliant

  • @markjohnston2827
    @markjohnston2827 2 роки тому

    I tried this but I had to go into the classic list settings and add the columns that I substituted into the JSON to the list view. If I didn't do that, it would work when switching views but fail on a refresh (SharePoint online environment).

  • @nandnandan8313
    @nandnandan8313 Рік тому

    ALERT!! After the refresh, every color code reset back to Default. How to troubleshoot that?

  • @bobblandeburgo3842
    @bobblandeburgo3842 2 роки тому +1

    While this is great, the lack of recurring events on the modern calendar is reason enough to not use it, so I'm forced to use the classic calendar in my environment.

  • @Nwvet
    @Nwvet Місяць тому

    Why are the color choices so bland/few?