I have a database with e.g. birthdays of some people. Now I can use iCalcreator to easily write a php script to dynamically create an ICS file and print it to the browser. If I navigate to that address with my iPhone it catches the birthdays and I can add them to my iPhone calendar.
If I delete a birthday from my database, the script will create the same ICS file but of course without that deleted event. However, if I navigate with my iPhone to that new ICS file it does not synchronize the events, more specifically my iPhone does not delete the missing event out of its own calendar.
As I researched I should add the event also to that new ICS file but with method CANCEL (does the event only require method CANCEL and UID?).
Do I have to keep all my deleted events (or their UID) and publish them as cancelled in my ICS file forever?
Related
I'm creating some local notifications for my users to remain them different events. I achieved this by using https://pub.dev/packages/flutter_local_notifications. These notifications are scheduled and can be removed easily.
I was thinking in other hand to move this to the private calendar wit Gmail. I have done this in the past and I know how to create them but I was wondering if I could remove also them.
In my app I have different portfolios. These contain rents and each rent has leases. When the user creates a lease an event is created with the different payment days.
If the user deletes either the event, the lease, the rent or the portfolio, I need to remove automatically all the notifications. Right now, since this is created with local_notifications I can do it, but would it be possible by having the events created in Gmail?
Could I created/remove a bunch of events without displaying the Gmail calendar app?
I have a php app that serve as a webcal server, I want user can choose either use their calendar app, or just import the webcal://example.ics directly to google or outlook or office 365 calendar with one click url, without user going through settings to import. Tried to find documents on these but couldn't.
YZY, There isn't a way that you can control the users calendar application to just import. It is up to the receiving end - the users application, to say how an ics file or url is treated on receipt. For example, in my desktop browser i have the default application for a .ics url/file set to be notepad++, not my calendar app. There is nothing you can do to override that.
How other applications such as email applications on smartphone or desktop treat it will depend on their settings as controlled by the user. EG: In outlook users may have unticked the 'automatically process meeting requests'
The only control the provider of the ics url/file has is to ensure that the file/url is specified correctly as per the latest specification (Note RFC5546 updates RFC5545, one needs to read both). Briefly:
https protocol is standard (webcal is unofficial apple. See https://icalendar.org/iCalendar-RFC-5545/1-introduction.html, https://en.wikipedia.org/wiki/ICalendar.)
The suffix is '.ics' as per examples given in RFC5546 and RFC5545
The mime content type is text/calendar https://www.iana.org/assignments/media-types/text/calendar and https://datatracker.ietf.org/doc/html/rfc5545#section-8.1
The appropriate METHOD must be used: PUBLISH is suitable for a subscribable URL (where it appears as a separate calendar in the URL) OR REQUEST (for meeting requests in emails etc) See https://datatracker.ietf.org/doc/html/rfc5545#section-3.7.2 and https://datatracker.ietf.org/doc/html/rfc5546#section-7.2
I like to distinguish between 'import' and 'subscribe':
Import in my opinion is where one imports an event (or multiple events) from a .ics file INTO an existing chosen calendar - eg (but not only): when a METHOD:REQUEST is used.
Subscribe is for icalendar feeds that get updated and so it is practical to subscribe or add the calendar by url to one's calendar application. This kind of url needs to be publicly accessible (although it can be obscured by unusual url)
One could download a subscribeable .ics and 'import' it but then one would only ever have that frozen event/s as at that point in time, it would not ever update.
In summary the best you can do is provide the url correctly and offer some links to info on how to subscribe in case the users are unfamiliar with subscribing
I have a documents library where mainly pdf and doc are uploaded. I have also got a nintex workflow running behind this library.
The workflow sends an email notification to users every time a new document is uploaded. However it is also sending emails when a new folder is created.
Is there any way we can get nintex to NOT send emails when a folder is created.
You could put a check at the start of the workflow for content type.. If folder end wf. Or goto workflow settings and put a conditional event on create. To only start wf if content type = document
I want to save the notifications, that come to my app from the server, in the SMS folder of an iPhone or iPad but I couldn't find a way about how to do. My app sends GET in a scheduled struct and if it realizes any changes I want to bring the notification and save it to the user's SMS folder. I parsed JSON during GET function and the changes which will trigger the saving method too are from JSON object... You can just give an idea about how to get started too.
PS: My app targets iOS 5
If I understand your question correctly, you want to be able to save messages that are sent via push directly into the user's SMS (messages) folder on the phone.
The short answer is you can't do this - your application is sandboxed, and unless you're running a jailbroken device where you have access to the required files it's not possible. How you're sending or what you're doing with the notification is irrelevant - the SMS app is out of bounds, and you won't be able to save anything to it using the public APIs.
I'm running Thunderbird on Windows. I often receive .ics (iCal) attachments - invitations to meetings. Currently I save the attachment to my desktop, open Google Calendar, choose 'Add>Import Calendar', browse to the .ics file, and return to the calendar.
Is there any tool that can speed this up... e.g. I forward the email to a special email address and it automatically parses and adds the event to my google calendar?
Lightning gives you a plug-in way for Thunderbird to sync with Google Calendar, works both directions. I've used it without any issues, hopefully it will do what you're after.
Calify does just that.
It can open *.ics files in various web calendars, including Google Calendar.