Comments (14)
Sorry, I currently don't have access to Exchange server, but I can try to direct you to the right direction.
Exchanger's CreateItem
operation currently doesn't support SendMeetingInvitations
attribute.
You can try adding a send_meeting_invitations
option here
And also override CalendarItem#create
method with CreateItem.run(:folder_id => parent_folder_id.id, :items => [self], :send_meeting_invitations => "SendToAllAndSaveCopy")
.
More details - http://msdn.microsoft.com/en-us/library/aa564690.aspx
from exchanger.
Thank you!
I'm going to try this way.
I was trying to ovverride "to_xml" method in element class but the schema validation failed sending a CalendarItem with this additional attribute.
from exchanger.
it works!!
I need to make some changes but it worked.
from exchanger.
Can you create a pull request for this?
from exchanger.
As soon as possible i will handle the generation of the custom attribute required when "SendMeetingAttributes" is equal to "SendToAllAndSaveCopy" and then I'll create a pull request.
I want to advise you I'm a newbie of rails, maybe I will need your support.
from exchanger.
Ok, soon I will create the pull request.
I just want to check if it works sending requests to my meeting attendees but something is wrong in my code.
How can I specify required / optional attendees for a meeting ?
@item.required_attendees = [ Exchanger::Attendee.new(:key => "mailbox", :text=> Exchanger::EmailAddress.new(:key => "EmailAdress", :text => "[email protected]"))]
Error:
#<Exchanger::Operation::ResponseError: The request failed schema validation: The element 'RequiredAttendees' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types' has invalid child element 'RequiredAttendees' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'. List of possible elements expected: 'Attendee' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'.>from exchanger.
@link82 @item.required_attendees = [ Exchanger::Attendee.new(:mailbox => Exchanger::Mailbox.new(:email_address => "[email protected]"))]
from exchanger.
Also you will need to add tag_name
to Attendee
class:
module Exchanger
# The Attendee element represents attendees and resources for a meeting.
#
# http://msdn.microsoft.com/en-us/library/aa580339.aspx
class Attendee < Element
element :mailbox, :type => Mailbox
element :response_type # Unknown Organizer Tentative Accept Decline NoResponseReceived
element :last_response_time, :type => Time
def tag_name
"Attendee"
end
end
end
from exchanger.
I found it is also necessary to specify a new attribute while updating a calendar event, instead of "SendMeetingInvitations" it needs a "SendMeetingInvitationsOrCancellations"
http://msdn.microsoft.com/en-us/library/aa580254(v=exchg.140)
overriding calendar_item.rb update method and adding the custom attribute in the update_item class it works.
I need anyway to skip the serialization of these attributes while not communication with 2007+ MS Exchange server.
Is there a way to understand the server version? So i can skip serializing the attributes if < 2007
from exchanger.
get_user_availability tests are failing I see, I also need to take a look at them later.
from exchanger.
This seems to have stalled out, are there any updates on this? I ran into this issue today...
from exchanger.
Ah, I see @link82's fork and the changes he made. I'll fork this repo and add in the updates (since link's commits are kind of a mess) and see what comes out of it.
from exchanger.
@azurewraith it would be nice if you get this sorted out, so that I can merge this in.
from exchanger.
Sorry but it was my first fork. I started fixing it up locally but later the project I've been working on was suspend and i never completed the changes.
I'm sorry about that. :(
from exchanger.
Related Issues (15)
- TimeZone sets to UTC on all_day_events HOT 4
- tzinfo is marked as dev dependency HOT 1
- Incorrect UTC support HOT 1
- Recurring Event HOT 8
- How to get 'Out of office' user status HOT 1
- Add to rails application HOT 5
- Cannot get folder HOT 1
- Change message attribute HOT 1
- Contact photo HOT 1
- Can this be used to send email? HOT 1
- Can't retrieve events body HOT 1
- List Email
- expanded_items method returns 'The request is invalid.' HOT 3
- Can this work with SAML/SSO?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exchanger.