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
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.
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.
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
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. -
outlookApp = new ActiveXObject("outlook.application");
-
nameSpace = outlookApp.getNameSpace("MAPI");
-
-
mailFolder = nameSpace.getDefaultFolder(6);
-
-
mailItem = mailFolder.Items.Add("IPM.Appointment.ConfRmReq");
-
mailItem.MeetingStatus = 1;
-
-
mailItem.Subject = "My Test Appointment";
-
-
mailItem.Start = TheDate();
-
-
var recipient = mailItem.Recipients.Add(confRm);//attendees list
-
recipient.Resolve;
-
-
if(recipient.Resolved)
-
{
-
mailItem.Display();
-
}
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.
OK. Here is the code. -
outlookApp = new ActiveXObject("outlook.application");
-
nameSpace = outlookApp.getNameSpace("MAPI");
-
-
mailFolder = nameSpace.getDefaultFolder(6);
-
-
mailItem = mailFolder.Items.Add("IPM.Appointment.ConfRmReq");
-
mailItem.MeetingStatus = 1;
-
-
mailItem.Subject = "My Test Appointment";
-
-
mailItem.Start = TheDate();
-
-
var recipient = mailItem.Recipients.Add(confRm);//attendees list
-
recipient.Resolve;
-
-
if(recipient.Resolved)
-
{
-
mailItem.Display();
-
}
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
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!
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.
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.
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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...
|
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".
|
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...
|
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()
| |
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.
|
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...
|
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...
|
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
|
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...
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
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...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |