I was hoping that with the new calendar API of wp8.1, I am now able to fully replace the native calendar app with my own.
But after a few hours of searching in the API documentation, I came to the point that this is still NOT possible.
This is what i concluded so far:
I can create my own AppointmentCalendar with full read and write access. But this calendar won't sync to my other devices.
I can add/remove/edit appointments in all other Calendars, but just over the native UI with the AppointmentManager. This still takes some time to open the native calendar app and the user has to manually press the save button.
There is still the old way. I need to dive into the Outlook.com/Google Calendar/... APIs, to save appointments straight out of my own calendar app.
Is there a way to set my default calendar (Outlook.com) from Readonly (ReadWrite=Systemonly) to ReadandWrite(ReadWrite =full)?
The platform AppointmentCalendar API doesn't allow for writing directly to a online calendar provider.
To implement write-support, you would need to implement a custom provider for each calendar, for example Outlook.com and GMail.com each have individual APIs, although IMAP often can be used as a default protocol. Each requires individual authentication.
For Outlook.com you would need to utilize OAuth, ideally via. Single Sign-On, and then use the IMAP API to integrate your application with the Outlook.com calendar.
So in short, there is no way for 3rd party developers to fully replace the default calendar application on Windows Phone when it comes to writing appointments. All you can do is to write a different visual front for the built-in calendar.
Related
The scenario I'm trying to solve for is this: as a User who wants an organization's events on my Outlook/Office365 calendar, I want to be able to download and important a calendar from a link without first having it download and then me have to search for the file to import to my calendar. I want the process to be (mostly) automatic. I want the process to be similar to how I can do in Google Calendar, or in Yahoo Calendar.
This answer gives a link for programmatically adding a feed to Google calendar, which works! Now I need a similar url for Office365 (another answer gave me one for Yahoo). I have searched everywhere, but almost all the answers I've found don't answer this question; rather, they simply say how to add individual events, not feeds. Or they tell the user how to manually subscribe. In my case, I have the feed all ready to go (it's an .ics file), I just need to give the user a clickable link so the process of adding it can happen automatically, with the usual sign in/permissions that Office 365/Outlook requires.
So what is the URL for Office 365 that I can use to create a link to my ical/ICS feed like with the other two services?
EDIT: To clarify - I have the calendar already in an .ics file, and then when the user clicks the link, their Office365 should open and ask if they want to import the calendar, the way gmail does. How do I make that happen?
And the half answer is the webcal protocol. Webcal mostly does what I want. I have to change the URL to include the different protocol and voila! I get prompted on Windows about what I want to do with the link. The same thing happens on Mac.
The link looks like this - webcal://myhost.com/myical.ics. Unfortunately, it doesn't connect to Office365 as I've seen other services do, but when I attempt to view their code, it's obscured or otherwise unavailable. But this gets me much closer to where I need to be.
Re So what is the URL for Office 365 that I can use to create a link to my ical/ICS feed like with the other two services?
There is no such URL. There are instructions for an Office365 user on how to import or subscribe a calendar. https://support.microsoft.com/en-us/office/import-or-subscribe-to-a-calendar-in-outlook-on-the-web-503ffaf6-7b86-44fe-8dd6-8099d95f38df
If you intend that the calendar will be updated, then leading your users to subscribe to a URL that you update is a better way to go about it.
Imports are really only good for one off calendars that do not change.
Note that Webcal is an Apple unofficial identifier for .ics and is not the answer for cross platform, although many applications will cope with it.
How a calendar file (ics url) gets treated depends on how it is accessed and how the individuals default application settings has been setup. My browser settings for example are set to open .ics files in Notepad++ because I test/work with calendars. Most will have it open their calendar application. Then it also depends on the application.
Developing a booking website in MVC5 C# and once the user has booked I want to added the booked date to the user's calendar if they access the website via a mobile device.
I've been looking around the web to find if there is any solution but all I've seen are device specific solutions for Android or iOS mobile app developmemt. I want to look for a solution that will be tailored to access the calendar on all mobile devices or even just Android and iOS.
I want to know if this is possible and a starting point like a C# library?
For security reasons, you can't access the user's calendar directly from a web app.
What you can do, though, is providing him an iCalendar file that will contain the details about what he just booked. When opening such a file, the user will be prompted to add it to his calendar. Nice thing about this solution: it works for almost all platforms, mobile and desktop.
To generate the iCalendar file in C#, you can use DDay.iCal.
Evening all,
I have been doing some work for a client which involves adding appointments into a Google calendar, today I have been told that they are not going to be using Google any more and will be using the calendar available through exchange, They are using an off site instance of exchange hosted by a third party, as best as I can tell at the moment they do not have EWS enabled (I am awaiting confirmation on this).
So I am weighing up my options at the moment, if the third party comes back and says that EWS is not available I need some other way of getting the appointments into exchange.
Right, some background about the app:
C# ASP.NET WebForms site (.net 4.5) hosted on a dedicated server.
Any suggestions that you may have would be great!
Thanks in advance!
I need to get the calendar data from Lotus Traveler.
But it is hard to find any material on how to get anything. There are some examples regarding adding to Lotus Notes, but no info on the other way.
Is it like contacting an exchange server?
Lotus Traveler is a middle ware tool which sits between a domino server and mobile devices which have apps specifically defined to interface with it. For security and confidentiality there is minimal API documentation for the Traveler interfaces.
You can access calenders directly from the domino server through standard domino views. There are several views available in the standard Notes Mail/Calendar templates and if what you need is not available, you can extend the design of the database with your own views.
Hope this helps - Newbs
With Lotus Notes Traveler installed on the server, you can get to your mail, contacts and calendar on e.g. an iPhone using the ActiveSync protocol. So you can say that Traveler emulates Exchange.
If you are looking to retrieve calendar data from another Notes/Domino database then you can extend the mail database as per Henrys answer.
If you want to access calendar data from outside of Notes/Domino (e.g. from a different non-Domino application server) then you can create your own REST API that you can access with REST web services. You can also have Domino Data Service create the REST interface for you.
Here's my notion what Google Data Api is for, Google gives you their controls like Calendar,etc. I use their API to communicate to create and manage events. So does this mean i can save the events and all other data in my SQL Server database. I was thinking of creating a calendar application like "Tungle.me" has using Google Calendar but use local sql server database you know what this means right i am on .net 2.0, ASP.NET and C#. Is google doesn;t allow me to do so, can you suggest a calendar control that does same job as Google Calendar does??
You are wrong about the Google services: they are not "controls" that you can use in your app. Well, in particular case of Calendar, you can embed it in your page, but this is not the primary usage.
If you just need a calendar control for your page, that just google around - there are plenty available for asp.net.
DevExpress scheduler control has most (if not all) of the features that Google Calendar offers. They have controls for ASP, Winforms, and WPF (and soon Silverlight)
http://www.devexpress.com/Products/NET/Controls/ASP/Scheduler/