|
|
|
date: 1 Dec 2005 14:21:40 -0800,
group: microsoft.public.exchange2000.development
back
Re: Create an appointment (not a meeting with members)
I regret to say I was ethusiastic too soon.
In Outlook, everything works fine, but when I go to Outlook Web Access,
I can see another problem:
In the calendar, the item is displayed properly, but when I open it,
the form shows current time instead of the Begin and End time. But when
I open the very same item in Outlook, and save it manually, it is OK. I
guess i have to write some additional fields to get this work OK.
Moreover, events created this way are not synchronized with my Pocket
PC (using ActiveSync), even though it looks all right in Outlook.
Thanks in advance
Lukas Neumann
date: 2 Dec 2005 07:05:29 -0800
author: Luke Neumann
Re: Create an appointment (not a meeting with members)
The following works okay for me on Exchange 2003 Outlook, OWA, Pocket PC
2003 and Windows Mobile 5 (just using a desktop sync)
<?xml version="1.0"?><g:propertyupdate xmlns:g="DAV:"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:mapi="http://schemas.microsoft.com/mapi/"
xmlns:mapit="http://schemas.microsoft.com/mapi/proptag/" xmlns:x="xml:"
xmlns:cal="urn:schemas:calendar:"
xmlns:dt="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
xmlns:header="urn:schemas:mailheader:" xmlns:mail="urn:schemas:httpmail:">
<g:set><g:prop>
<g:contentclass>urn:content-classes:appointment</g:contentclass>
<e:outlookmessageclass>IPM.Appointment</e:outlookmessageclass>
<mail:subject>ttttest</mail:subject>
<mail:htmldescription>Let's meet here</mail:htmldescription>
<cal:location>meetappt Location</cal:location>
<cal:dtstart dt:dt="dateTime.tz">2005-12-04T22:24:00Z</cal:dtstart>
<cal:dtend dt:dt="dateTime.tz">2005-12-04T23:24:00Z</cal:dtend>
<cal:instancetype dt:dt="int">0</cal:instancetype>
<cal:busystatus>BUSY</cal:busystatus>
<cal:meetingstatus>CONFIRMED</cal:meetingstatus>
<cal:alldayevent dt:dt="boolean">0</cal:alldayevent>
<cal:responserequested dt:dt="boolean">0</cal:responserequested>
<cal:reminderoffset dt:dt="int">900</cal:reminderoffset>
<cal:timezoneid dt:dt="int">57</cal:timezoneid>
<mapi:apptstateflags dt:dt="int">0</mapi:apptstateflags>
<header:to>gscales</header:to>
<mapi:finvited dt:dt="boolean">1</mapi:finvited>
</g:prop>
</g:set>
</g:propertyupdate>
Watch the timezoneid this is for Sydney you need to find what enum your
using have a look at the SDK
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_cdotimezoneid_enum.asp.
If your appointment doesn't show up in OWA it usually down to one of the
properties not being set right OWA will make a query such as
Select
"urn:schemas:calendar:location" AS location,
"urn:schemas:httpmail:subject" AS subject,
"urn:schemas:calendar:dtstart" AS dtstart,
"urn:schemas:calendar:dtend" AS dtend,
"urn:schemas:calendar:busystatus" AS busystatus,
"urn:schemas:calendar:instancetype" AS instancetype,
"urn:schemas:calendar:alldayevent" AS alldayevent,
"urn:schemas:calendar:remindernexttime" AS remindernexttime,
"http://schemas.microsoft.com/mapi/proptag/x10c70003" AS pr_cdormid,
"http://schemas.microsoft.com/exchange/sensitivity" AS sensitivity,
"http://schemas.microsoft.com/mapi/apptstateflags" AS apptstateflags,
"urn:schemas:calendar:uid" AS uid
FROM Scope('SHALLOW TRAVERSAL OF ""')
WHERE
NOT "urn:schemas:calendar:instancetype" = 1
AND ("DAV:ishidden" is Null OR "DAV:ishidden" = false)
AND "urn:schemas:calendar:dtend" > '2005/12/05 13:00:00'
AND "urn:schemas:calendar:dtstart" < '2005/12/06 13:00:00'
ORDER BY "urn:schemas:calendar:dtstart" ASC
So you need to make sure the appointments you are creating are going to have
properties that meet this search criteria.
Cheers
Glen
"Luke Neumann" wrote in message
news:1133535929.179084.101030@g43g2000cwa.googlegroups.com...
>I regret to say I was ethusiastic too soon.
>
> In Outlook, everything works fine, but when I go to Outlook Web Access,
> I can see another problem:
>
> In the calendar, the item is displayed properly, but when I open it,
> the form shows current time instead of the Begin and End time. But when
> I open the very same item in Outlook, and save it manually, it is OK. I
> guess i have to write some additional fields to get this work OK.
>
> Moreover, events created this way are not synchronized with my Pocket
> PC (using ActiveSync), even though it looks all right in Outlook.
>
> Thanks in advance
> Lukas Neumann
>
date: Mon, 5 Dec 2005 09:34:53 +1100
author: Glen Scales [MVP]
|
|