move event from email to different calendar
When an invitation (in this case recurring) is accepted from an email, Lightning saves the event to the default calendar. The event edit dialogue is not the usual Lightning dialogue and will not allow the calendar to be changed. Is there a way to move such an event to another calendar?
A secondary question that would provide a solution is: can the default calendar be changed within Lightning? My default calendar is a local calendar. My main calendars are google calendars.
To complicate things the email account I received the event on is a non-google imap account. I have worked round the problem by forwarding the invitation to the account that hosts the calendar, opening it in webmail and saving to the relevant calendar, but would prefer to do it all in Thunderbird. Having done that the event opens in the normal lightning event dialogue which would allow me to change the calendar.
Using Thunderbird v 45.6.0
All Replies (15)
Is there a way to move such an event to another calendar? See my screenshot below. Once the event is set, you can open the event information dialog again, and change which calendar the event is assigned to.
can the default calendar be changed within Lightning? I don't know how it works when accepting an invitation for an event, and the event gets added to Lightning, but if you double-click a day on the calendar to add an event, it will automatically add the event to whichever calendar is selected on the left side.
So before accepting the e-mail invitation, switch to the Calendar tab, and select the calendar you want on the left side first. Maybe that will work.
To complicate things the email account I received the event on is a non-google imap account. I don't receive event invitation e-mails, so I am unable to advise on this.
Modified
Bruce, Thank you for the response but Lightning doesn't respond in the normal way with this event. I have tried selecting the calendar that I want the event to be saved to before accepting it but it still saves to the default calendar.
I don't get the usual event information dialogue for these events. When first opening the event a dialogue asking whether to edit this occurrence or all occurrences opens, selecting either option gives an information dialogue giving the event details and all invitees, but no option to select calendar.
When I accept it using Google webmail then it does open with the conventional dialogue as your image.
When an invitation (in this case recurring) is accepted from an email, Lightning saves the event to the default calendar.
Each calendar has an email address assigned. Right-click the calendar - Properties.
Is the email address assigned to your local calendar the same as the email address the meeting invitation has been sent to? If so, you know why the meeting invitation ends up in your local calendar.
You'd need to assign the email address the meeting invitation has been sent to to your Google Calendar. This isn't necessarily the same as the Gmail email address.
can the default calendar be changed within Lightning?
I don't think Lightning has a concept of a 'default' calendar.
Google calendars only have a location, not an email address, but this is linked to the email address on the account that hosts the calendar, (googleapi://[account]@gmail.com/?calendar=[calendar id]%40group.calendar.google.com).
I have now assigned the local calendar to an email address that I will never get invitations on. The event then opened in a different calendar, not the one I wanted.
I also tried accepting it after forwarding it, from the email account that hosts the calendar, but it was saved in the local calendar again.
To be honest it's not a major issue, as I don't get many recurring invitations, and I can enter individual events manually. It just seemed that there ought to be a way to assign an event to a specific calendar when you accept it.
Google calendars only have a location, not an email address,I do use iCal to connect to the Google Calendar, and it does have an email address assigned to it. I don't know if this is the case when using the 'Provider' add-on to connect to a Google Calendar.
but this is linked to the email address on the account that hosts the calendar,
As said before, that has got nothing to do with the email address assigned to a calendar in Lightning.
I have now assigned the local calendar to an email address that I will never get invitations on.
A calendar doesn't have to have an email address assigned to it. You can also choose none.
The event then opened in a different calendar, not the one I wanted.
Again, you'd need to assign the email address the meeting invitation has been sent to to the Calendar you want to see the event in.
It just seemed that there ought to be a way to assign an event to a specific calendar when you accept it.
There is. And as stated before, it's done via matching the email address the invitation was sent to with the email address assigned to the calendar.
Thanks again. I am using Provider, which is the default method if read/write access is required. The information dialogue for the calendar only provides the location. I tried linking it as a new calendar using CalDav but that seems to only allow access for the primary calendar on the Google account. It might work if I swapped two calendars.
Can you post a screenshot of your calendar properties? https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
Attached
I tried linking it as a new calendar using CalDav but that seems to only allow access for the primary calendar on the Google account.
Set up instructions for CalDAV: https://blog.mozilla.org/calendar/2013/09/google-is-changing-the-location-url-of-their-caldav-calendars/
I do only have one Google Calendar. Not sure how multiple ones are being handled using CalDAV. In any case, using CalDAV an email address can be assigned to the Google Calendar.
Reading the Google support page https://support.google.com/calendar/answer/99358 it seems that all calendars on which sync is enabled, in the google account referenced in the CalDAV setup, will be synced. Reading between the lines, they would all appear on one Lightning calendar. I'll try experimenting and post the results here.
I probably shouldn't have such a complicated setup, but since retiring I have taken on roles in three organisations and was publishing some events on a website calendar and needed to separate those from private events. As I wrote earlier I can get round it, but this thread might be useful to others that come across similar problems.
It is only an issue on invitations received via email.
Modified
For reference, a useful article on the different methods of using Lightning with Google Calendar: https://wiki.mozilla.org/Calendar:Using_Lightning_with_Google_Calendars
Modified
Select the calendar in Google. Click the drop down beside it's name. Select calendar settings. Beside calendar address you will see ICAL and HTML buttons followed by the calendar ID. This is what tells Google which calendar sync to lightning.
So the URL you place in Thunderbird is https://apidata.googleusercontent.com/caldav/v2/[The calendar Id from your google settings]/events
Above those settings in Google, you will also see option to automatically add invites to this calendar. If turned on the event is added upon receipt. No manual intervention required, as the change will sync to Lighting. Not the add is an invite, not an acceptance.
It is my understanding the CalDAV URL has the users email address in it, not a calendar ID.
https://apidata.googleusercontent.com/caldav/v2/your-email-address/events
And this is exactly the information stated in the article posted above https://support.mozilla.org/en-US/questions/1155440#answer-957335 and above https://support.mozilla.org/en-US/questions/1155440#answer-957325
Modified
Thank you all for your input on this. Using the calendar ID has worked in the set-up for a Google Calendar using CalDAV. The email address is the Calendar ID for the default Google Calendar so would work for most people. I have experimented with a dummy event created on one of my calendars and inviting the email address connected with the CalDAV calendar. It appears to work. One difference is that Lightning didn't ask if wanted to send a response, it sent it automatically. So I don't want to experiment with an event created by somebody else. An option to select the calendar individually for invitations would be useful. Any developers reading this might like to think about it.
Modified
The primary calendar has the email address as the calendar ID secondary calendars have a generated ID