473,796 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

newly created meeting request from javascript has no recipient data

16 New Member
Hi all,

I have looked through MSDN on this one and can't seem to find the answer anywhere.

I have created a JavaScript that will launch a meeting request for an address selected from a list. The problem that is occurring is that when the meeting request opens, and I look at the availability grid, any recipient I put in from the code shows "no information" for availability.

The weird thing is that if I delete something like a middle initial and hit enter, the user's data appears because it forced outlook to poll Exchange for the data.

Does anyone know of a way to fix this, perhaps I can force outlook to poll for user data when the window opens?


Thanks

Jeremy
Nov 30 '07 #1
13 5034
pronerd
392 Recognized Expert Contributor
Are you sure what you have is JavaScript? It sounds like it might be VB or VBA. In which this is the wrong forum. Either way without being able to see the code I dought that anyone is going to be albe to provide much assistance.
Nov 30 '07 #2
mofmans2ndcoming
16 New Member
Are you sure what you have is JavaScript? It sounds like it might be VB or VBA. In which this is the wrong forum. Either way without being able to see the code I dought that anyone is going to be albe to provide much assistance.
I wrote it. It is JavaScript.

The code I have works fine. it is getting Outlook to behave as I wish that is the problem. I want to get a JavaScript solution to this rather that coding VBScript for the form because I would like everything to be in one place.
Dec 2 '07 #3
gits
5,390 Recognized Expert Moderator Expert
as pronerd said ... you should post the relevant code because without it it would be a guessing game to say something that could help ...

kind regards
Dec 2 '07 #4
mofmans2ndcoming
16 New Member
as pronerd said ... you should post the relevant code because without it it would be a guessing game to say something that could help ...

kind regards
OK. Here is the code.

Expand|Select|Wrap|Line Numbers
  1. outlookApp = new ActiveXObject("outlook.application"); 
  2. nameSpace = outlookApp.getNameSpace("MAPI");
  3.  
  4. mailFolder = nameSpace.getDefaultFolder(6);
  5.  
  6. mailItem = mailFolder.Items.Add("IPM.Appointment.ConfRmReq");         
  7. mailItem.MeetingStatus = 1;
  8.  
  9. mailItem.Subject = "My Test Appointment";        
  10.  
  11. mailItem.Start = TheDate();
  12.  
  13. var recipient = mailItem.Recipients.Add(confRm);//attendees list
  14. recipient.Resolve;
  15.  
  16. if(recipient.Resolved)
  17. {
  18.    mailItem.Display(); 
  19. }
This code does exactly as I want. except that the availability information shows as "no information" on the grid. If I change the name slightly and force it to resolve the address in the form, the availability becomes available in the grid.
Dec 3 '07 #5
mofmans2ndcoming
16 New Member
OK. Here is the code.

Expand|Select|Wrap|Line Numbers
  1. outlookApp = new ActiveXObject("outlook.application"); 
  2. nameSpace = outlookApp.getNameSpace("MAPI");
  3.  
  4. mailFolder = nameSpace.getDefaultFolder(6);
  5.  
  6. mailItem = mailFolder.Items.Add("IPM.Appointment.ConfRmReq");         
  7. mailItem.MeetingStatus = 1;
  8.  
  9. mailItem.Subject = "My Test Appointment";        
  10.  
  11. mailItem.Start = TheDate();
  12.  
  13. var recipient = mailItem.Recipients.Add(confRm);//attendees list
  14. recipient.Resolve;
  15.  
  16. if(recipient.Resolved)
  17. {
  18.    mailItem.Display(); 
  19. }
This code does exactly as I want. except that the availability information shows as "no information" on the grid. If I change the name slightly and force it to resolve the address in the form, the availability becomes available in the grid.
I have got the solution. The issue was that I used an alias for the recipient and those do not resolve as simply as an e-mail address. The reason I had an alias was that it had gotten left in my HTML code when I was attempting to solve the problem initialy. Then I discovered the recipient.Resol ve() method but never changed what I was sending to my code so it was not resolving properly.

Thanks,

Jeremy
Dec 3 '07 #6
acoder
16,027 Recognized Expert Moderator MVP
I have got the solution. The issue was that I used an alias for the recipient and those do not resolve as simply as an e-mail address. The reason I had an alias was that it had gotten left in my HTML code when I was attempting to solve the problem initialy. Then I discovered the recipient.Resol ve() method but never changed what I was sending to my code so it was not resolving properly.
Glad you got it working and thanks for posting the solution.

You know if you had a proper JavaScript question rather than IE-only JScript, it'd be so much easier to solve!
Dec 4 '07 #7
mofmans2ndcoming
16 New Member
Unfortunately, for my project I have to use ActiveX.

I would much rather do this with a proper server side language as it would take a lot less time but at work, I am a man in need of a solution with out the access to the back end to build it so I have to resort to client side work.
Dec 4 '07 #8
acoder
16,027 Recognized Expert Moderator MVP
Unfortunately, for my project I have to use ActiveX.

I would much rather do this with a proper server side language as it would take a lot less time but at work, I am a man in need of a solution with out the access to the back end to build it so I have to resort to client side work.
Oh, I accept that and it would make things a lot easier with better documentation.
Dec 5 '07 #9
hikumar
2 New Member
Hi Guys,

I want a javascript function which shows Public Shared Calendar(opens a window) when I click a link from the webpage. Please help me.

Ex. /Public Folders/All Public Folders/Photography

Thanks in Advance.
Feb 14 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1736
by: Betty Harvey | last post by:
The next meeting of the XML Users Group will be held on Wednesday, November 19, 2003 at the American Geophysical Union (AGU) at 2000 Florida Avenue, N.W., Washington, DC 20009-1277. The meeting starts at 7:00 p.m. and usually last approximately 2 hours. If attending the meeting by Metro, get off the Dupont Circle stop and walk north to Florida Avenue...turn right. There is no cost associated with attending but if you are planning on...
0
506
by: Betty Harvey | last post by:
Happy 2004! I hope everyone had a great holiday and will have a good new year. The next meeting of the XML Users Group will be held on Wednesday, January 21, 2004 at the American Geophysical Union (AGU) at 2000 Florida Avenue, N.W., Washington, DC 20009-1277. The meeting starts at 7:00 p.m. and usually last approximately 2 hours. If attending the meeting by Metro, get off the Dupont Circle stop and walk north to Florida Avenue...turn...
0
1095
by: info | last post by:
The next meeting of the Philadelphia XML User Group will be on Wednesday, March 9th at 6:00 p.m. The meeting is hosted by Elsevier, in the Curtis Center on Independence Mall in Philadelphia. A map and directions can be found at our website: http://www.xmlphilly.org/calendar.htm. This month's speaker will be Joe Gangemi, addressing "The XML/SGML Conundrum".
7
7003
by: Lau Lei Cheong | last post by:
Hello, I'm using javascript's insertAdjacentHtml() to insert images to the webform at runtime. This runs fine(image successfully displayed at the browser) but when I tried to access the control's src using FindControl() function in the code-behind, it seems that the control doesn't even exist. I know that I can add controls on the server-side, but then a postback will be needed which is the thing I want to avoid. Does anyone have idea...
6
6651
by: Amit Maheshwari | last post by:
I have my aspx page on which i am creating <input type=text> on client side using javascript. Now when i submit my page i need to access these controls to get the value entered by the user. the code is like <script language="javascript"> <!-- //to count no of file upload controls var intRowCount = 2; function AddApp()
6
11296
by: Rushwire | last post by:
Does anybody know how to send a meeting request using an ics/vcs (VCalendar) attachment from an asp.net page. I don't want my users to have to double click on the attachment but rather that it is simply recognised automatically as a meeting request. The article below shows an example of very close to what I am trying to do. The difference being that I want the email to be sent as a meeting request not as an attached ics file.
1
6165
by: GraemeC | last post by:
I have a database that is used to book venues and assign people to those venues. The person doing the booking can send an appointment request from Access to an individuals Outlook calendar. This part of the system works fine. I can also send a cancelled appointment request from Access to the same individual for the same appointment but for some reason Outlook is not recognising the cancel request as being for the original appointment so when...
10
6095
by: mofmans2ndcoming | last post by:
I have a script for my companies internal network that I am developing to ease the transition away from out old conference room scheduling system to outlook. (this is a stop gap until we can get developer time to do a proper server side solution) The users are use to a web interface and the conference rooms AD names are not human friendly so I decided to use some ActiveX to create a sort of meeting request link on a web page so when you click...
2
2546
ddtpmyra
by: ddtpmyra | last post by:
Hi, Can you send meeting request invitation thru PHP code and automatic update recipient Microsoft Calendar? Anybody who did similar development? thanks, DM
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.