Color Code Calendar By Category

Hi All,
I am fully aware of the calendar overlay but do not want to use it. I am going to have two Categories (A or B)
I want A to to have a background color of green, and B have Blue.
I have tried several times with calculated columns, and adding java to a content editor but nothing seems to work right!
Can someone help me, this is one example of code i tried.
="<div style='width:100%;background-color:"&IF(Category="Meeting","Red",IF(Category="Business","Blue",""))&";'> "&Title&"</div>"
This seems so easy on tutorials but i cant get anything to work! simply just want it to be if category = a then background color is green...etc
this is an easy answer for someone, I will mark as answer.

If you are using JavaScript, the first step is to have that category type available somewhere for each item. Are you currently displaying them in your view?
Dimitri Ayrapetov (MCSE: SharePoint)

Similar Messages

  • Color code calendar events

    How can I color code calendar events in Calendar (iPhone 4S)?  I have it synced to Exchange.  So if this is the case should calendar events come over as color coded from Exchange?

    Not sure about adding color to the calendar as I have never done it. However, I assume it can be done based on the way the Calendar is set up in this TribeVita template. This may also be another great option for you other than colors.
    http://templatetheotherchildusstandard.businesscatalyst.com/events

  • Color code calendar

    Can n e 1 tell me how 2 color differentiate my appointments in my calendar?

    Sorry, not possible on the BB at this time.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • How do you control the color code (calendar choice) when entering an event on the calendar in iCal?

    Nevermind. I figured it out! Only the "all day events" get a bar of color.

    Many others are experiencing this problem as well.. I personally have eleven different calender in iCal with assigned colors, all of which are different colors on my iPhone iCal.
    It seems that as of now there is no fix for this bug and that we'll just have to wait for Apple to recognize the issue.

  • Best Calendar App to connect to Google Calendar and color code appointments

    I am looking for a replacement calendar app that will connect to Google Calendar and allow me to color code individual appointments.  I have looked at a ton of apps in the app store but none of them talk about the color coding option I am looking for.  I don't want to do the trial and error thing and waste my time and money. 

    Download Gmail app. itunes.apple.com/us/app/gmail/id422689480?mt=8

  • Changing color code in a group calendar mode by a workflow

    I have team calendar which i have used for leave approval.
    I am using weekgroup of the calendar view.
    I have applied the workflow for pending and approval for each leave to line manager.
    I have used a field which i am using for finding out whether or not it is approved.
    Now depending on that the colour code should change in the group calendar view. Is it possible

    Hi,
    As I understand, you want to change the color in the calendar based on the field value by workflow.
    Workflow cannot change the color in the calendar.
    As a workaround, you can add custom code in the content edit web part to achieve it. If the value of the field equals a certain value, you can change the color.
    The article below is about how to create a color coded calendar by javascript in SharePoint 2013, it also can work in SharePoint 2010
    http://blog.metrostarsystems.com/2014/07/16/sharepoint-2013-any-color-coded-calendar-step-by-step/
    The article below is about SharePoint 2010 Colour Code Calendar.
    https://arunsharepoint.wordpress.com/2011/04/15/sharepoint-2010-colour-code-calendar/
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Password Protecting Contacts and Color Coding Calendar

    I just got an iPhone today and was wondering if there is a way to password protect my contacts. Either all of them or certain records so that I will be prompted for a password before seeing a record (or all records). I had a Palm Centro before this and absolutely loved that feature since I could keep all my passwords in my phone and not have to worry about anyone else accessing them since the file was password protected.
    I haven't used the iCal much but is there a way to color code entries by event type (e.g. Birthday, appointment, meeting, etc.) This is another feature that my palm had that I really loved and was hoping I could duplicate it in some way on my iPhone

    The answer to your first question is no. You kept your various passwords with your contacts?
    Regarding iCal, you can create multiple calendars and have a different color for each. For example I have a Business and a Personal calendar with business and personal events separated. I can view all calendars combined or I can view an individual calendar by itself.
    The iPhone includes a Birthdays calendar that is linked to birthday entries for your contacts in Contacts. iCal includes the same linked to birthday entries for your contacts in the Address Book. The iPhone supports syncing calendars/calendar events with iCal and contacts with the Address Book on your Mac.

  • How to Color-Code Categories on Desktop?

    I just purchased a Palm Z22 after years of owning a T5.  I can choose colors for the categories on the handheld, but cannot get any color-coding on the desktop.  Any suggestions on how to do this?  Also, how to change the background colors on the desktop as well?
    Post relates to: Palm Z22

    Hello legendeld-
    Would you please add the suggestion to color code events? It strikes me as odd that Palm has removed a very useful piece of functionality that has been in its software as long as I can remember. I upgraded to 6.2 to fix the problem where undated tasks were given the date "12/31/2031" in Palm Desktop 4.1.4. Finding the removal of category colors was not a welcome result. I'm certain it's not making your other users happy either, especially after waiting a very long time for this upgrade.
    Thanks very much,
    Sean
    Post relates to: Centro (Sprint)

  • Palm Desktop 4.2 - Text of color coded calendar entries are hidden for some colors

    Environment: 
      Treo 680
      Palm Desktop 4.2 running on Windows XP Pro
    Color coded calendar entries have been working great since I got my phone over a year ago.  When I added a new color category (bringing my total to 7 categories) I noticed that some of my calendar entries showed the color coded bar for the appointment, but the text for the entry was hidden.  Nor was I able to edit the entry using Palm Desktop since any attempt to select the entry tries to create a new entry.
    Thinking that I had exceeded a limit for the number of color categories I deleted the new category (so the entries were now unfiled).  Now, all but one of my color categories are affected (color bar for appointment, but no text visible), including those marked with a category of "undefined".
    The only color that now shows the text for calendar entries is my default category (not unfiled).  This affects all of my existing calendar entries and any new ones I create, regardless of whether I create them on the Treo or using Palm Desktop. 
    If I press <tab> to cycle through my appointments on the page, it selects only those for my default color cateogry where the text of the entry is visible (i.e. it skips all the other appointments).
    The calendar entries are all visible on my Treo, thankfully.
    I have not installed any new apps or updates.
    I've not been able to find anyone else reporting this problem.
    My next step will be to restore my backup from last week, but I was hoping to avoid that if possible, so any advice would be greatly appreciated.
    Thanks in advance!
    Post relates to: Treo 680 (AT&T)
    This question was solved.
    View Solution.

    Pardon my ignorance, but where do I set categories to all?
    Tools > Categories
      Whichever category I select here becomes the default category and its entries will be visible, but all other categories will be hidden.  My only other options are New, Delete, Rename and Help.
    The only other configuration setting for categories that I can find is under
    Tools -> Preferences
    I have the checkbox "Display color-coded categories" checked
    Thanks!
    Post relates to: Treo 680 (AT&T)

  • Add different Colors to Calendar Overlay Settings color

    Dear All,
             I'm trying to show events on a calendar with different colors. The events are categorized based on Status field of
           Calendar list and I have two statuses. 1. Confirmed 2. Planning.
            When I create calendar overlays for two statues I'm only getting following colors.
            Dark Teal, Dark Blue, Dark Green, Olive Green, Red, Dark Purple Brown.   
     Can you please tell me how can I add some more different colors like yellow, sky blue to this drop down list.
            I referred this article
    http://davidlozzi.com/2012/01/26/color-code-your-sharepoint-calendar/
    Thanks,
    Dilip

    Hi,
    The colors are controlled by the css classes ms-acal-color1 to ms-acal-color9.
    You can override to the style as below, then add the style into a content editor web part in the calendar view.
    <style type="text/css">
    .ms-acal-color1{
    background-color:lime !important;
    </style>
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/01159adf-7630-47ee-8938-b30bd0c37e83/any-way-to-customize-the-calendar-overlay-color-possibilities
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Color code in calender on touch

    Hello,
    I have some calendars in iCal and they have different color codes. Synching to my iPod touch (2.0) shows color codes on the iPod, but the colors does not fit the color codes of iCal. Anybody has the same problem?
    Regards
    Pat

    Everybody has the same problem. For example, when I sync both my IPT and my iPhone 3G, I get different colors for the calendars on the two devices, and neither scheme matches iCal.
    I'd encourage you to submit feedback to Apple:
    http://www.apple.com/feedback/ipodtouch.html

  • Why won't the color code I am trying to use from a windows machine work on my Mac? Code: PMS7409

    Hi I'm an intern at a telecommunications and management company who are about to release an update on their website and server screens. My job is to create the new graphics and remake the presentation layers. I am also assigned to create a business card template, which is where my question comes. I am give a color code, from a Windows OS, and try to input that code into Photoshop CS6. That color code won't appear. It's a deep orange and the code I am being told is; PMS7409. I'm not sure thats a code (atleast on the Mac), but I haven't used a Windows OS in so long I don't even know if Windows has their own color coding system or what. Can someone help me out and tell me if this is me, my boss, or we're missing something and I'm going to look like an idiot?

    Definitely not a colour code for mac, the only thing I suggest you do is if you get the code on your windows version is to get the other values i.e
    instead and input those into it rather than the #colour code (Hue, Sat, B, R, G B) etc.
    Also ... Colour codes are 6 figures long i.e the one displayed and also black #000000 and white #ffffff
    however the one you gave is 7!
    Message was edited by: ConstantAngel

  • How do I replace image color with an exact html color code?

    I simply want to change the color of a small pic to an existing html color code, 3399CC.  The pic is very simple, and only has one color.  In Photoshop CS4, I go to:  Image -> Adjustments -> Replace Color.  For the new replacement color, when I type in 3399CC, it doesn't give me that color - it gives some other shade of that color.  (I can tell because I use a program that tells me the exact html code a color is when I hover my mouse over it).  It seems the only way to really get the color you want is to adjust the sliders (hue, saturation, and lightness).  But it'd be practically impossible to play around with every increment of those sliders until I get the exact color code.  
    There's got to be a way to simply enter the html color code and have the pic changed to that color.  Does anyone have any idea?

    Turns key.  WhirrRRRrrrrRRRrrrr....  Nothing.  (I answered in the other thread)
    Perhaps I've had too much coffee today, because I just got a clear vision of Bart Simpson, at the board, chalk in hand...
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    -Noel

  • Setting color codes for more than one photo at a time

    Is there any way to set color codes for more than one photo at a time?

    Hi John,
    I will look at keywords. My issue is speed. Right now I am culling and editing an event shoot that spanned a week with 35 separate events and more than 5000 images. So I use the fastest most convenient method I can and it still takes a long time to have a completed and final shoot. On this shoot I will end up with a final set of around 1500 images. Right now I am finishing processing a show that will hang in the Deutsches Amerikanish Zentrum in Stuttgart.
    As I am sure you are aware by now, having seen enough of my inane questions that over the last two years or since Lightroom version 1.xx if I could not figure out how to do something I skipped it. So many things in Lightroom are buried and unless you have a mind like a steel trap (and think that some of you guys in the forum do) locating how to do something is not obvious.
    For example, I only learned (in the last hour) that I could assign colors as a group of selections by using Shift + number. I found this in a side head in Martin Evenings Lightroom book. I still do not know how to find a way to display the color filter "selection" set in Library mode. Is there a way?
    To top it off, Stuttgart Media University asked me if I would add a Lightroom module to my schedule this year. Now I have a compelling reason to learn all those missing pieces that I have created workarounds for. Hence the number of posts you have been seeing from me over the past few of weeks.
    I tell my class that there are no such things as stupid questions, only questions. Now I am practicing what I have been preaching for the last gazillion years. Guys like you have been great.
    My workflow is
    1. I first separate all images by event. I do that at the time of import.
    2. I do a fast pass rejecting all the obviously bad images
    3. I do a second pass grouping the images by sub-group (speeches, people talking, performances, etc.) This is where I run out of selection methods and your key-wording could work but it would probably take too much time to establish a keyword set for a single event. Where I have more than five subgroups I set up different collection sets with one collection for each sub group. However I would like to keep a single event in one collection.
    4. I then select the images to be used by color code.
    5. Next I process the final images (crop develop etc) by collection.
    6. Last I output the set according to client requirement.
    If you have a better workflow, I am all ears.
    By the way, what is your photo specialty and where are you located?
    Jim

  • 3D Map - Color Code and Cursor Tracking

    Hi, I need some help trying to implement some user interface functionality for a program I am developing.
    This will be a tuning tool for automotive ECU. The program will be reading in two signals (Y-axis is RPM, X-Axis is manifold pressure) and use a 2D interpolation to output a Z value to be used in a calculation. There are two pieces I'd like to add to this. 
    1. Color code the cells based on the cell value in relation to the max and in of the entire 2D-Array
    2. Have a live currsor that tracks the current cell of the 2D array and highlights the cells that are being used in the interp calculation so it makes it easier for the user to make changes and calibrate the tables. 
    3. BONUS: An easy way to be able to select a range of cells and increment them by a set amoun or scale them all by an imput amount (like scale range by 90%).
    Basicly, I'd like to recreate some of the user interface functionality of the software shown below in the second picture and the video linked below. 
    VIDEO:    https://www.youtube.com/watch?v=OkVUJCy0sJ4
    VIDEO:   https://www.youtube.com/watch?v=oeZc-ka6ago      (at 16:45 you can see a good example of the currsor tracking through the cells as teh two inputs change)
    -As you drive and the RPM and loading changes there is a blue ball that tracks on the table the current x-y location of the 2D map and the four coresponding cells around the ball are highlighted to show witch of these cells are being used in the calculation so the user can easily alter these cells in real time to tune the output he is looking for. I'd like to be able to highlight, or blink either a single cell closest to the current value, or the 4 corners around it and have it update real time as the user drives the car. 
    Any ideas of how to implement this kind of functionality? The current VI is attached. I should note the x-array and y-array won't necessarily always be constant spacing between cells.
    Thank you for any help in advance!
    Attachments:
    3D Map Color Coded & Currsor.vi ‏17 KB

    Okay, so I made some progress on this. I was able to use an intensity graph to visually color code the relative position of the cells. Is there a way to make the 2D array translucent and overlay the color array intsity graph behind it? is there a better way to do this. 
    I was able to get the closest current cell value to update as black and track around live on the intensity graph. I did this by temporarily setting the cell's value to 0. Is there a way to somehow highlight the actual cell on the 2D-Array instead? 
    The code is attached. I added a random sine wave input to simultate some signals for the x and y input. The Y array now runs in reverse order which made it tricky to get some of the functions to work properly so I had to use a 2D transpose and 1D reverse array to get it back in the right form. There's probably a better way to do this. 
    Any help is great appreciately and rewarded with Kuddos!  
    Attachments:
    3D Map Color Coded & Currsor (Rev B).vi ‏33 KB

Maybe you are looking for

  • Small Office Network Solution for Final Cut Server - Proxy Storage Etc.

    Hi, I haven't been able to find any answers for this question by googling, So I would love if anyone here had some advice. I have the 10 License version of Final Cut Studio with 5 clients at the moment. I would like to set-up our office in the most e

  • Iphone won't download from itunes (purchases or updates) and keeps asking for password

    My new Iphone 6 won't download from itunes, whether it is a new purchase, previous purchase or update.  Itunes keeps asking for password.  Icloud seems to be working, find my phone works, so what do I do?  I've signed out and back in to the app store

  • Only one Extractor source is allowed in a data flow ?

    Hi, We have a common scenario (I think this is common for SAP ECC in general) where we have 2 tables, *_ATTR (Attributes) and *_TEXT (descriptions).  We extract these using extractors. Initially when we tried to place 2 in a dataflow, we got an error

  • I have the virus"macsecurity"

    i have unfortunately fallen victim to the" macsecurityalerts.com" Phishing scam.I have a Mac Mini,2.3GHz Dual core intel core i5,500 rpm hard drive,8GB 1333MHz DDR3 SDRAM. Its in my safari browser which is the only browser i have on my Mac Mini.i hav

  • Any way to backup at least contacts without cable?

    My wife's iPhone (original) is no longer being recognized by being plugged in after a drop. And she has not backed up for some time. Is there any way to at least backup contact information somehow, perhaps over Bluetooth (even her now ancient RAZR co