Mission Manager Community
Mission Manager => Feature Requests and Issues => Topic started by: atucker@wcrescue.com on October 19, 2012, 08:40:36 AM
-
I don't think this is an option, but a thought... we use google calendar on our website to keep some of our community partners informed on things going on or coming up, we also use it so other agencies around the state can see what kind of training we have coming up. is there a way we could sync our google calendar with MM Calendar?
-
we are wanting to let people see whats going on but some will not have access to MM... (if that helps understand what i'm asking)
-
Try the "Export Calendar" at the bottom of the MM Calendar screen. The file this creates can be directly imported into your Google Calendar.
-
could there be a way to import from google calendar...
-
Sorry, currently there is no import calendar in MM. Most teams create their events in the MM calendar because it interfaces with your members, timekeeping, allows for training signup, etc. There may be an import at some point, but not yet.
Mike
-
Thanks Mike GREAT SUPPORT!!! you have a great system here!!!
-
It would be very helpful to be able to request the calendar ics file using the API key. This would allow the calendar to be viewed in the Google calendar tool and on phones. It also needs to be allowed in the robots.txt file.
Thanks!
-
It would be very helpful to be able to request the calendar ics file using the API key.
Done. There is a new API request GET calICS that will return the team's calendar ICS file. If you can use this to display a calendar to your members it would be great if you could share a "how to" with other teams, thanks.
Mike
-
This works and I was able to get the ics file. However, I can not use it directly in Google calendar because of the robots.txt line "Disallow: /SearchManager/". Even through it is accessed through a redirect, it is still blocked. Could you please add an allow line for the api or put a copy in a different path?
I'd be happy to do a quick writeup when I have it working.
-
Could you please add an allow line for the api or put a copy in a different path?
I allowed access to the api.php file. Let me know if that works.
Mike
-
Yes, that works, but now I get an empty calendar if I am not logged in:
BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
PRODID:-//Radishworks//Mission Manager//EN
CALSCALE:GREGORIAN
END:VCALENDAR
When logged in, the ics file has the events. It seems to be checking the cookie or something.
-
I get an empty calendar if I am not logged in:
Woops, our bad. Should be working now. Good detective work :D.
-
Ok, almost there. Can you please add time zone information to the ical file or output the absolute UTC times with a Z at the end? Google doesn't let you pick the time zone of a subscribed calendar.
On a side note, entering a start time of 8000 instead of 0800 makes Google start the event a few days later. This was a typo on my part, but it might be nice to validate the times.
-
Can you please add time zone information to the ical file
Done. Calendar ICS files now include a timezone.
This was a typo on my part, but it might be nice to validate the times.
Time validation code now in place.
Thanks for the reports.
Mike
-
Thanks for the reports.
Thanks for all the quick fixes and feature additions! It's working now.
To import into Google and display on a webpage:
- Copy the calendar URL (https://www.radishworks.com/MissionManager/api.php?Get=calICS&APIKey=YOUR_API_KEY).
- Go to your Google calendar (https://www.google.com/calendar/).
- Click the down arrow to the right of "Other Calendars" and then "Add by URL"
- Paste the URL and click OK, but do not check the box.
- Click the down arrow to the right of your calendar and then "Calendar settings"
- Rename the calendar, then click the "Customize the color, size, and other options" link.
- Pick the settings you want.
- Copy the HTML code and paste into our webpage.
Be sure to rename the calendar, otherwise you are exposing your API key.
If you don't need to embed it, you can stop after step 4 and still get the calendar on your phone, etc.
-
I tried this out but it's not working quite right. The calendar shows up in Google Calendar, but not every event is listed. I see the events in the ical export, so it seems to be that Google is ignoring some of them.
Well now hang on, I just tried it again and this time all the events showed up. That's peculiar. I guess I'll post this reply anyway just in case somebody else has this issue.
-
Is this a one time import or is it "repopulated" on the google side when it's accessed? I'm assuming it's updated as the calendar changes. Very cool feature, especially for those using google apps (free or google apps for business) as their domain email service.
Update, just tested and it seems to be one time. Hmm...if that's the case, I wonder if there's a way to have it update as needed?
-
If you follow the directions above it will update as the MM calendar updates. Google is rather slow at processing updates and it can take a few hours.
-
You can also use it in your Outlook calendar. My County has low tolerance for linking to outside sources, but this worked just fine. While in Outlook, go to the Tools tab and open Account Settings. Click on internet Calendars, then New. It will open a box to paste the calendar URL into: (https://www.radishworks.com/MissionManager/api.php?Get=calICS&APIKey=YOUR_API_KEY). Your MM calendar appears listed under Other Calendars. When you click the box next to it, it will pop up next to your regular Outlook calendar.