MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Calendar  (Mono Support )

Viewed 28068 time(s), 5 post(s) 9/22/2011 1:07:52 PMby rule128

Related topics

rule128

rule128

9/22/2011 1:07:52 PM
Hello

Each registered user has a calendar assigned to him.

How can I assign a calendar to a group?
I would like to have the calendar of the users in the group updated when the group calendar is changed.
If a user is part of more then one group his calendar should contain all the entries in the group calendars.

How can I do that?

Regards
This content has not been rated yet. 
265 Reputation 29 Total posts
pajo

pajo

9/22/2011 1:43:56 PM
Hi,

This is not possible out of box. Event module is designed to display list of events not as a calendar manager. The easiest and cleanest way to achieve what you want is to write WebPart you need. It's possible to utilize MonoX infrastructure (calendars, calendar events and editor) when building such a part and if you're willing to develop it, I'll gladly help you.
This content has not been rated yet. 
629 Reputation 83 Total posts
rule128

rule128

9/22/2011 3:45:39 PM
Hello

My first question still stands: How can I assign a calendar to a group? And then how do I know that this is a group calendar ?

So to sink the calendars I have to replicate the CalendarEventEntity's from the group calendar to the user calendar.
What is the name of the event triggered when an event is added/deleted from a calendar?



Regards

This content has not been rated yet. 
265 Reputation 29 Total posts
pajo

pajo

9/22/2011 4:26:18 PM
Hi,

You can add new table that will connect group with calendar, but you will need to write code where you will assign calendar to group. Querying this table you can know if calendar is group calendar.

You will need to extend event module to customize adding and deleting. You can find more details how to extend event module in this post. But I think syncing calendars is not good idea as it is very hard to maintain everything in sync. Better approach would be to merge calendars when showing them to user, you don't have to take care of calendar sync you just need to read which groups user is member of, read theirs calendars, merge all events and display them to user.
This content has not been rated yet. 
629 Reputation 83 Total posts
rule128

rule128

9/23/2011 12:58:57 PM
Hello Pajo

Your solution sound better. I will go with this one.
If I will get stuck I will get back with questions.

Regards
This content has not been rated yet. 
265 Reputation 29 Total posts