Google Calendar API Color Coding Based On Sender - google-calendar-api

I'm looking to create a code that will automatically color code events based on the sender. This would color code events ideally based on the sender, so internal meetings will be differentiated from external meetings.
Thanks in advance!

Related

Modifying appointment event from external using Javascript

I am working ith Fullcalendar, and it is great. I now want to use SignalR to modify events in real time. For this i would need to modify a single event and render it.
In the API section it gives me the way for dealing with drag and drop. this and creating the schedules etc. have been working in my development since 4 years without issue.
Does anybody please have an idea or snippet how to initiate a call to modify/create/delete a calendar item from external (how to create an instance with which ID, server will not know the schedule ID, and just rerender this one instance which is shown in the API section)
thanxs
Walter

Add a custom event type to Google Calendar

I would like to develop an application that would allow my company employee to schedule their holidays from Google Calendar.
The idea would be the following:
The employee create an event corresponding to the holidays
The employee specify somewhat that this event is a holiday
The application send an email to the manager for validation
If the manager validate, the event is confirmed in the employee calendar and available for his teammate
Any idea how to specify that this event is a holiday (step 2)?
I tried to look how to add a custom event type without success.
Do your company uses gapps for business?
As a domain admin, you can create "resources" apart from individuals calendar and share it with the whole company.
Maybe the link below might help you:
https://robinpowered.com/blog/how-to-set-up-room-resource-calendars-in-google-apps/

How do I find the 'default' visibility for a google Calender Item?

Looking at the calendar event documentation, one of the possible values for visibility is:
"default" - Uses the default visibility for events on the calendar. This is the default value.
I'd like to find out, if I see this value on an event, what visibility that event is. In other words, where do I find the default? Is it fixed, is it a property of the Calendar or the user or ..? I looked at all those I could think of but did not find any reference to visibility.
After searching some more, this might be the clue: it's user documentation, and it says (with much left out):
First, learn your calendar's privacy settings
Next, learn your event sharing options:
My calendar isn't shared with anyone
Your calendar isn't shared with anyone, so your events aren't either.
No matter which settings you choose for your event, the event will only be seen by you.
I've only shared my calendar with specific people
See only free/busy
Default: Events show as busy.
See all event details
Default: People you've shared your calendar with can see all event details.
Make changes to events OR Make changes to events and manage sharing
For the default, public, and private settings, people you've shared your calendar with can see and change any event details.
But now I'm stuck finding the calender's privacy settings.
Default visibility means that the visibility of the calendar applies to this specific event. If the calendar is publicly shared free-busy then the event will be displayed with no event details (just the time).
If the calendar is only shared read-only with your friend then this friend will see full details of the event while other people would not see anything.

Tracking actions like selecting a checkbox

I have some check boxes on my website selecting which the data on the page gets filtered but the page name remains the same. I want to capture the data for visitors selecting any of the check boxes. Can you please let me know how can this be done?
Presently, I have different page name whenever the user select any of the check box. But by doing this, Page views data for that page becomes irrelevant.
For Omniture tracking, that's very possible, but you need to add a bit of javascript. You need to add an onClick event for the checkbox, and have it submit a custom link event to Adobe. They provide a function for it:
s.tl(this, 'o', 'Checkbox X Clicked');
Prior to this call, you can set props/evars if you want other tracking tied to this event. It doesn't count as a page view, though.
The Omniture implementation guide is here:
http://microsite.omniture.com/t2/help/en_US/sc/implement/oms_sc_implement.pdf... do a search for the s.tl() function. It'll explain.
Presumably, your page has JavaScript that does the filtering.
You would need to add to this JavaScript to send an AJAX request to the server every time the user makes their selection. The server will need to track the requests in a database or a file. After that, you can analyse the results.
There are many ways to send AJAX requests in JavaScript. The basics are here: http://www.w3schools.com/ajax/default.asp but there are also 3rd party libraries available.
Unfortunately there is nothing that "google-analytics' can do for you here, as far as I know.
Good luck,
DC

Creating an Agenda View for IBM iLog Calendar application

I am using the IBM iLog Elixir calendar for my website. Its working fine.
My issue is that, I want to create an agenda view for the events in the calendar for the date that is selected in the DataChooser (which I do by sending a request back to my database, and fetching the events for that particular date).
But the issue here is with the events that are recurrence. They have rules, and based on the rules the iLog calendar shows them on the calendar. But for me, I just check for the events with that date.
There are two solutions:
Is that I understand the rules in the database, and make a query that checks those rules and send me back the events.
Solution is, the iLog calendar already fetches all the events, and displays them according to where they should be. So, I should try to find a way to fetch these events from the calendar itself.
The solution second is a better choice, as it makes the calendar faster (as I dont have to send another request to database) and it also is already doing what I need. All I need to figure out how to fetch these events.
How can I fetch the events from calendar itself.

Resources