 |
|
|
|
| Author |
Message |
Ryan Parlee
Joined: 03 Feb 2008 Posts: 3
|
Posted: Sun Feb 03, 2008 4:22 am Post subject: olAppointmentItem.Organizer when created by publisher on sha |
|
|
Hello Outlook Developers,
When a user in our office creates an AppointmentItem on a shared calendar
with the "publishing author" privilege for that calendar the Organizer
attribute is set to the owner of the mailbox rather than the user that
created the item.
1. Is this by design?
2. Is there a way to find out who actually created the item?
Thanks,
Ryan
Archived from group: microsoft>public>outlook>program_addins |
|
| Back to top |
|
 |
Ken Slovak - [MVP - Outlo
Joined: 12 Aug 2007 Posts: 405
|
Posted: Mon Feb 04, 2008 2:15 pm Post subject: Re: olAppointmentItem.Organizer when created by publisher on |
|
|
It's by design. The Outlook object model doesn't expose who last modified a
calendar item. If you are using an alternate API such as CDO 1.21 or
Extended MAPI or Redemption (www.dimastr.com/redemption) you can use the
PR_LAST_MODIFIER_NAME property (0x3FFA001E) to get who last modified the
item.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Ryan Parlee" wrote in message @TK2MSFTNGP03.phx.gbl...
> Hello Outlook Developers,
>
> When a user in our office creates an AppointmentItem on a shared calendar
> with the "publishing author" privilege for that calendar the Organizer
> attribute is set to the owner of the mailbox rather than the user that
> created the item.
>
> 1. Is this by design?
>
> 2. Is there a way to find out who actually created the item?
>
> Thanks,
> Ryan
>
> |
|
| Back to top |
|
 |
Ryan Parlee
Joined: 03 Feb 2008 Posts: 3
|
Posted: Mon Feb 04, 2008 4:53 pm Post subject: Re: olAppointmentItem.Organizer when created by publisher on |
|
|
Ken,
My users are creating items using Outlook 2007 UI on the Shared Calendar
View. So, I'm not sure if that uses Extended MAPI or some other internal
API.
I'm using OutlookSpy to investigate the object model. I think I may have
found what I'm looking for in the PR_SENDER_NAME and PR_SENDER_EMAIL_ADDRESS
properties. Can you please confirm that these are equivelent to what I'm
considering the "creator" of the item?
Also, any chance you could explain the following to me:
I've been using OutlookSpy to investigate the object model and lookup these
properties. When I have an Appointment Item open in Outlook, I use the
"CurrentItem" button on the OutlookSpy toolbar to pull up the
_AppointmentItem interface inspector. Since I didn't see the
PR_LAST_MODIFIER_NAME property that you mentioned in your last response (or
a similarly named property of the interface that looked like it represented
the PR_LAST_MODIFIER_NAME property), I started looking around in OutlookSpy.
My first thought was that perhaps this property was part of a different
interface, but when I tried to QueryInterface for IID_IMessage I got
MAPI_E_INTERFACE_NOT_SUPPORTED. I then tried IID_IDispatch and got the
_AppointmentItem interface instead. It wasn't until I found the IMessage
button on the OutlookSpy toolbar that I was able to find the
PR_LAST_MODIFIER_NAME property and then also found the PR_SENDER_XXX
properties.
Q1: Why couldn't I QueryInterface for IID_IMessage directly from the
_AppointmentItem interface? Isn't that a COM rule that all Interfaces
should allow QI to other interfaces supported by the coclass?
Q2: Why does IID_IDipsatch result in the _AppointmentItem interface?
Thanks,
Ryan
"Ken Slovak - [MVP - Outlook]" wrote in message $l%23wizZIHA.3880@TK2MSFTNGP05.phx.gbl...
> It's by design. The Outlook object model doesn't expose who last modified
> a calendar item. If you are using an alternate API such as CDO 1.21 or
> Extended MAPI or Redemption (www.dimastr.com/redemption) you can use the
> PR_LAST_MODIFIER_NAME property (0x3FFA001E) to get who last modified the
> item.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "Ryan Parlee" wrote in message
> @TK2MSFTNGP03.phx.gbl...
>> Hello Outlook Developers,
>>
>> When a user in our office creates an AppointmentItem on a shared calendar
>> with the "publishing author" privilege for that calendar the Organizer
>> attribute is set to the owner of the mailbox rather than the user that
>> created the item.
>>
>> 1. Is this by design?
>>
>> 2. Is there a way to find out who actually created the item?
>>
>> Thanks,
>> Ryan
>>
>>
> |
|
| Back to top |
|
 |
Ken Slovak - [MVP - Outlo
Joined: 12 Aug 2007 Posts: 405
|
Posted: Mon Feb 04, 2008 6:10 pm Post subject: Re: olAppointmentItem.Organizer when created by publisher on |
|
|
For Outlook 2007 you can directly access the PR_LAST_MODIFIER_NAME property
using the PropertyAccessor for the appointment item, using this DASL syntax
for the property: "http://schemas.microsoft.com/mapi/proptag/0x3FFA001E"
You can also use the other properties you mention, using their DASL syntax
property tags.
You'd have to ask Dmitry why he implemented the OutlookSpy user interface
that way and how that works with QueryInterface or IDispatch, I just always
use the IMessage button when I want to look at the MAPI properties on an
item or where specific properties aren't exposed by the Outlook object
model.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Ryan Parlee" wrote in message
news:%23keYce1ZIHA.748@TK2MSFTNGP04.phx.gbl...
> Ken,
>
> My users are creating items using Outlook 2007 UI on the Shared Calendar
> View. So, I'm not sure if that uses Extended MAPI or some other internal
> API.
>
> I'm using OutlookSpy to investigate the object model. I think I may have
> found what I'm looking for in the PR_SENDER_NAME and
> PR_SENDER_EMAIL_ADDRESS properties. Can you please confirm that these are
> equivelent to what I'm considering the "creator" of the item?
>
>
> Also, any chance you could explain the following to me:
>
> I've been using OutlookSpy to investigate the object model and lookup
> these properties. When I have an Appointment Item open in Outlook, I use
> the "CurrentItem" button on the OutlookSpy toolbar to pull up the
> _AppointmentItem interface inspector. Since I didn't see the
> PR_LAST_MODIFIER_NAME property that you mentioned in your last response
> (or a similarly named property of the interface that looked like it
> represented the PR_LAST_MODIFIER_NAME property), I started looking around
> in OutlookSpy. My first thought was that perhaps this property was part of
> a different interface, but when I tried to QueryInterface for IID_IMessage
> I got MAPI_E_INTERFACE_NOT_SUPPORTED. I then tried IID_IDispatch and got
> the _AppointmentItem interface instead. It wasn't until I found the
> IMessage button on the OutlookSpy toolbar that I was able to find the
> PR_LAST_MODIFIER_NAME property and then also found the PR_SENDER_XXX
> properties.
>
> Q1: Why couldn't I QueryInterface for IID_IMessage directly from the
> _AppointmentItem interface? Isn't that a COM rule that all Interfaces
> should allow QI to other interfaces supported by the coclass?
>
> Q2: Why does IID_IDipsatch result in the _AppointmentItem interface?
>
>
>
> Thanks,
> Ryan |
|
| Back to top |
|
 |
Ryan Parlee
Joined: 03 Feb 2008 Posts: 3
|
Posted: Tue Feb 05, 2008 4:59 am Post subject: Re: olAppointmentItem.Organizer when created by publisher on |
|
|
Thanks for the tip on DASL; I wasn't familar with that.
"Ken Slovak - [MVP - Outlook]" wrote in message %23k1ZIHA.4272@TK2MSFTNGP05.phx.gbl...
> For Outlook 2007 you can directly access the PR_LAST_MODIFIER_NAME
> property using the PropertyAccessor for the appointment item, using this
> DASL syntax for the property:
> "http://schemas.microsoft.com/mapi/proptag/0x3FFA001E"
>
> You can also use the other properties you mention, using their DASL syntax
> property tags.
>
> You'd have to ask Dmitry why he implemented the OutlookSpy user interface
> that way and how that works with QueryInterface or IDispatch, I just
> always use the IMessage button when I want to look at the MAPI properties
> on an item or where specific properties aren't exposed by the Outlook
> object model.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "Ryan Parlee" wrote in message
> news:%23keYce1ZIHA.748@TK2MSFTNGP04.phx.gbl...
>> Ken,
>>
>> My users are creating items using Outlook 2007 UI on the Shared Calendar
>> View. So, I'm not sure if that uses Extended MAPI or some other internal
>> API.
>>
>> I'm using OutlookSpy to investigate the object model. I think I may have
>> found what I'm looking for in the PR_SENDER_NAME and
>> PR_SENDER_EMAIL_ADDRESS properties. Can you please confirm that these
>> are equivelent to what I'm considering the "creator" of the item?
>>
>>
>> Also, any chance you could explain the following to me:
>>
>> I've been using OutlookSpy to investigate the object model and lookup
>> these properties. When I have an Appointment Item open in Outlook, I use
>> the "CurrentItem" button on the OutlookSpy toolbar to pull up the
>> _AppointmentItem interface inspector. Since I didn't see the
>> PR_LAST_MODIFIER_NAME property that you mentioned in your last response
>> (or a similarly named property of the interface that looked like it
>> represented the PR_LAST_MODIFIER_NAME property), I started looking around
>> in OutlookSpy. My first thought was that perhaps this property was part
>> of a different interface, but when I tried to QueryInterface for
>> IID_IMessage I got MAPI_E_INTERFACE_NOT_SUPPORTED. I then tried
>> IID_IDispatch and got the _AppointmentItem interface instead. It wasn't
>> until I found the IMessage button on the OutlookSpy toolbar that I was
>> able to find the PR_LAST_MODIFIER_NAME property and then also found the
>> PR_SENDER_XXX properties.
>>
>> Q1: Why couldn't I QueryInterface for IID_IMessage directly from the
>> _AppointmentItem interface? Isn't that a COM rule that all Interfaces
>> should allow QI to other interfaces supported by the coclass?
>>
>> Q2: Why does IID_IDipsatch result in the _AppointmentItem interface?
>>
>>
>>
>> Thanks,
>> Ryan
>
|
|
| Back to top |
|
 |
|
|
| Related Topics: | Why Publisher 2007 configures when Outlook 2003 receives ma I just got a new computer with Windows Vista. On my old computer, I used Outlook 2003 and Publisher 2007. There was never any conflict. After installing Publisher 2007 on the new computer, whenever I hit the Windows Installer comes on and
organizer on calendar I use the Outlook calendar for my personal calendar. My calendar recently started showing the "organizer" as either Outlook Mobile Service or Unknown (I guess if I input it directly on the computer) - I don't want this to be on my calendar. Is there a w
Transfer Meeting Organizer Hi, I am leaving my present company and would like to transfer all of the meetings I've schedule to my replacement. We are using Outlook 2007. Can this be accomplished without regenerating all of the meetings? Thank you!
How do I transfer the 'meeting organizer' role to another pe One secretary has initially invited at lot og people to a conference, but now another has been assigned to plan the event. Is it possible to change the meetig organizer?
Hide Meeting Organizer Field? Is there any way to modify settings in Outlook that would allow me to hide\remove the meeting organizer fields from displayed appointments in the calendar? |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|