Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Tue, 05 Jul 2005 21:33:11 GMT,    group: microsoft.public.exchange2000.development        back       


Help WebDav: add recurrence task   
Hi All,

using WebDav, to add recurrence calendar I use:

<?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-11d1a29f-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>Testing Event!</mail:subject>
<mail:htmldescription>Testing Event!</mail:htmldescription>
<cal:location>Test Location</cal:location>
<cal:dtstart dt:dt="dateTime.tz">2005-06-30T15:00:00.000Z</cal:dtstart>
<cal:dtend dt:dt="dateTime.tz">2005-06-30T15:30:00.000Z</cal:dtend>
<cal:enablereminders>False</cal:enablereminders>
<cal:reminderoffset ></cal:reminderoffset>
<cal:busystatus>1</cal:busystatus>
<cal:alldayevent>0</cal:alldayevent>
<cal:rrule dt:dt="mv.string">
<x:v>FREQ=YEARLY;BYMONTH=11;BYDAY=-1FR;</x:v>
</cal:rrule>
<cal:timezoneid dt:dt="int">15</cal:timezoneid>
<header:to>Me</header:to>
<mapi:finvited dt:dt="boolean">1</mapi:finvited>
</g:prop>
</g:set>
</g:propertyupdate>

and property name is
<cal:rrule dt:dt="mv.string">.


To add a task, I use:

<?xml version="1.0" encoding="utf-8" ?>
<D:propertyupdate xmlns:D="DAV:"
 xmlns:EX="http://schemas.microsoft.com/exchange/"
 xmlns:HN="urn:schemas:httpmail:"

xmlns:MAPI_ID="http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000
-000000000046}/"
 xmlns:MAPI="http://schemas.microsoft.com/mapi/"
 xmlns:dt="urn:uuid:c2f41010-65b3-11d1a29f-00aa00c14882/"
 xmlns:x="xml:"
 xmlns:cal="urn:schemas:calendar:"
 xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
<D:set>
 <D:prop>
  <D:contentclass>urn:content-classes:person</D:contentclass>
  <EX:outlookmessageclass>IPM.Task</EX:outlookmessageclass>
<HN:subject>task
fabius</HN:subject><HN:textdescription></HN:textdescription>
<MAPI_ID:0x8104 b:dt="dateTime.tz">2005-07-01T00:00:00.000Z</MAPI_ID:0x8104>
<MAPI_ID:0x8105 b:dt="dateTime.tz">2005-07-01T00:00:00.000Z</MAPI_ID:0x8105>
<cal:rrule dt:dt="mv.string">
<x:v>FREQ=YEARLY;BYMONTH=11;BYDAY=-1FR;</x:v>
</cal:rrule>
<HN:importance>1</HN:importance>
<EX:mileage></EX:mileage>
<MAPI_ID:0x8102 b:dt="float">0.0</MAPI_ID:0x8102>
<MAPI:reminderset>0</MAPI:reminderset>
<MAPI:sensitivity>0</MAPI:sensitivity>
<MAPI_ID:0x8101  b:dt="int">0</MAPI_ID:0x8101>
<MAPI_ID:0x811c b:dt="boolean">0</MAPI_ID:0x811c>
</D:prop>
</D:set>
</D:propertyupdate>

Is it possible add recurrence task using WebDav?
And what is the recurrence property name?

Thanks
for any suggestions.
fabio
date: Tue, 05 Jul 2005 21:33:11 GMT   author:   Fabio

Re: Help WebDav: add recurrence task   
(in task I try to use
<cal:rrule dt:dt="mv.string">
<x:v>FREQ=YEARLY;BYMONTH=11;BYDAY=-1FR;</x:v>
</cal:rrule>
but it isn't correct).

thanks,
fabio
date: Tue, 05 Jul 2005 21:35:25 GMT   author:   Fabio

Re: Help WebDav: add recurrence task   
You can access and set the reoccurrence properties via WebDAV on tasks the 
issue is though they aren't in the RFC 2445 (the iCalendar standard) as they 
are on calendar appointments. If you do an allprop query on any task via 
WebDAV you'll see reoccurrence properties in the 
http://schemas.microsoft.com/exchange/tasks/ namespace use something like 
this to have a look yourself

<D:propfind xmlns:D="DAV:" 
xmlns:E="http://schemas.microsoft.com/exchange/"><D:allprop><E:allprop/></D:allprop></D:propfind>

If you decode the base64 value that gets returned from 
http://schemas.microsoft.com/exchange/tasks/taskrecur they you should get a 
value that can be decoded using the formulas described in 
http://www.geocities.com/cainrandom/dev/MAPIRecurrence.html

Another option maybe to use the OWA savetask cmd the only issue here is I 
think this doesn't work in Ex2000 and probably wont work in the next version 
of Exchange either.

Cheers
Glen

"Fabio"  wrote in message 
news:x2Dye.118524$75.5232675@news4.tin.it...
> (in task I try to use
> <cal:rrule dt:dt="mv.string">
> <x:v>FREQ=YEARLY;BYMONTH=11;BYDAY=-1FR;</x:v>
> </cal:rrule>
> but it isn't correct).
>
> thanks,
> fabio
>
>
>
>
date: Thu, 7 Jul 2005 15:03:28 +1000   author:   Glen Scales [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us