Comments (13)
I have slowed down progress as I did not see much traffic or use by others in recent past.
Now that I see someone is interested, I can work on requested feature. That is the idea for now.
Keep your requests coming in. Do open other issues with features you want to use. will add that to my todo. If it is simple port, I can fix it within few days. if it is complex or require new workaround, will let you know about the delay.
from ews-javascript-api.
can you provide Create meeting code you are trying
from ews-javascript-api.
Thank you so much Gautam for your prompt and positive reply. I used Appointment.Save to create new meeting with required and optional attendees and I got error that RequiredAttendees is not implemented. I also tried to use exchange.CreateItem() method but that too didn't worked.
Please find the code snippet:
var appointment = new ews.Appointment(exch);
var today = new Date();
appointment.Start = new ews.DateTime(new Date(today.getFullYear(),today.getMonth(),today.getDate(),3,30,0));
appointment.End = new ews.DateTime(new Date(today.getFullYear(),today.getMonth(),today.getDate(),4,0,0));
appointment.Location = "Plot 371 2nd floor";
appointment.RequiredAttendees.Add('[email protected]');
appointment.OptionalAttendees.Add('[email protected]');
appointment.Save(ews.SendInvitationsMode.SendToAllAndSaveCopy).then( function(response) {
console.log("------------");
}, function(ei) {
console.log(ei.stack, ei.stack.split("\n"));
console.log("error");
});
Thanks,
Alka Saini
from ews-javascript-api.
try with latest from npm. o.2.3 can get you work with Appointment creation and sending. Try working with responding to meeting request and report any issues.
It took more time than what I anticipated. Fetch Contact should be done in next few days, latest by next weekend.
from ews-javascript-api.
Thank you Gautam, In latest 0.2.3 version, Appointment.Save is working fine.
from ews-javascript-api.
glad that it worked for you, I am working on contacts stuff over next week.
from ews-javascript-api.
Contacts can be accessed 2 ways
ExchaangeService.ResolveName
methodContactsFolder.Bind
static methods
Check EWS documentation for example. method 2 is not yet on NPM, you can build from source for time being
I usually test few function before updating npm, this time I have tested anything yet. only Code updates.
from ews-javascript-api.
v0.2.4 published
from ews-javascript-api.
Thank you Gautam for the update, As per your suggestion, I tried to use 2 method for contacts bind by building the source but somehow its not working. I need to fetch the WellKnownFolderName.QuickContacts only not all the contacts as of now.
Thanks,
Alka Saini
from ews-javascript-api.
found few bugs which would prevent getting PhoneNumbers and ImAddresses. fix coming in 0.2.5
try this when I push 0.2.5 later this week
import credentials = require("./credentials"); //username and password
var ews = require('ews-javascript-api');
ews.EwsLogging.DebugLogEnabled = false;
var exch = new ews.ExchangeService(ews.ExchangeVersion.Exchange2013);
exch.Credentials = new ews.ExchangeCredentials(credentials.userName, credentials.password);
exch.Url = new ews.Uri("https://outlook.office365.com/Ews/Exchange.asmx");
exch.FindItems([new ews.FolderId(ews.WellKnownFolderName.QuickContacts)], null, null, new ews.ItemView(10), null, ews.ServiceErrorHandling.ReturnErrors)
.then(function(resp) {
resp.Responses[0].Results.Items.forEach(function(item){
ews.EwsLogging.Log([
item.DisplayName,
item.PhoneNumbers.Entries.Values,
item.EmailAddresses.Entries.Values,
item.Subject,
item.ImAddresses.Entries.Values
], true, true);
});
//EwsLogging.Log(resp.Responses, true, true);
console.log("------------");
}, function(ei) {
console.log(ei.stack, ei.stack.split("\n"));
console.log("error");
});
from ews-javascript-api.
0.2.5 published, please test again.
from ews-javascript-api.
Thanks a lot... Its working.
from ews-javascript-api.
thanks for the confirmation, please open more bugs when you found them.
from ews-javascript-api.
Related Issues (20)
- Authorisation problem - 401 HOT 6
- Error SoapFaultDetails message: '401 Unauthorized', HOT 8
- TypeScript errors when compiling (cannot find name PrivilegedUserId and more) HOT 4
- Usage React Native
- Failing to fetch .msg file attachment from ews exchange server ews-javascript-api HOT 4
- C# code works, but not its Node equivalent: 401 Unauthorized HOT 16
- Booking type causes sync to fail
- Specify certificate authority while sending request HOT 2
- nodejs 18: digital envelope routines::unsupported HOT 5
- Appointment.Bind sometimes return null Organizer HOT 2
- Possibility to set User-Agent HOT 4
- when creating an event in the calendar, the body is not added HOT 1
- UNABLE_TO_VERIFY_LEAF_SIGNATURE HOT 1
- Missing typescript declaration for CreateItem HOT 2
- how to retrieve strings from Extended Properties with more than 255 characters HOT 1
- Missing finally in promise declaration
- AWS WorkMail: 500 Error HOT 1
- Question: Can we create a new mailbox for an existing AD user using this library? HOT 3
- Cannot get attachment of .EML type HOT 1
- Appointment created by ews-javascript-api are shown in Monrovia timezone HOT 3
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 ews-javascript-api.