none
C#+Outlook 2010: Is there any way to programatically capture "Decline/Accept/Tentative -> Do Not Send A Response" selection at attendee end? RRS feed

  • Question

  • Hello there,

    I am working on one requirement to capture Decline/Accept/Tentative responses from attendees in our system and want to know if we can capture "Decline/Accept/Tentative -> Do Not Send A Response" selection by attendee. 
    At the moment we use AppointmentItem write event to capture item.ResponseStatus which gives us proper values, but does not tell us which sub-option from below user choose.

    - Edit the Response before Sending
    - Send the Response Now
    - Do Not Send A Response

    Kindly advise.

    Thanks,
    Suresh


    sureshh...

    Tuesday, August 2, 2016 8:41 PM

Answers

  • >>>How can we handle capturing "Do Not Send A response" option in such case?

    According to your description, as far as we know that if we choose not to send a response, there is nothing you can do using Outlook's native features. If a user chooses not to send a response, it won't be sent and tracking won't be updated in outlook. So I think that this is not possible to handle capturing "Do Not Send A response" option in such case.

    In addition if you have any feedback for Outlook, you could submit them to User Voice:

    https://outlook.uservoice.com/

    Thanks for your understanding.
    • Proposed as answer by David_JunFeng Thursday, August 11, 2016 1:52 PM
    • Marked as answer by David_JunFeng Tuesday, August 16, 2016 2:05 PM
    Thursday, August 4, 2016 9:09 AM

All replies

  • Hello Suresh,

    You need to install the add-in on the recipient side to be able to handle such options. There is no way to control user's choice remotely. The Outlook object model doesn't provide anything for that.


    [custom.development]

    Tuesday, August 2, 2016 9:13 PM
  • Hi Eugene,

    Sorry i forgot to mention but our Outlook plugins are installed on both user ends - Organizer and Attendees. Could you please suggest possible solution in that case?

    Thanks,

    Suresh


    sureshh...

    Tuesday, August 2, 2016 9:19 PM
  • Suresh,

    The most easiest way is to repurpose ribbon controls. See Temporarily Repurpose Commands on the Office Fluent Ribbon for more information.


    [custom.development]

    Tuesday, August 2, 2016 9:37 PM
  • Hi Eugene,

    Yes I thought of that solution earlier but look like we need to implement new code to handle it at 4 different places / workflows at minimum. I will try this meanwhile.
    Mail folder (Inbox) - Explorer
    Mail folder (Inbox) - Inspector
    Calendar folder - Explorer
    Calendar folder - Inspector


    Just curious - doesn't OOM provide any AppointmentItem property or event that we can utilize here to handle this case?
    Fyi we are currently using write event and ResponseStatus of AppointmentItem to capture attendee responses and basically want to skip "Do Not Send A Response" capture.

    Thanks,

    Suresh


    sureshh...

    Wednesday, August 3, 2016 2:42 AM
  • Hello there,

    I tried implementation around repurposing built-in control and look like only below works as expected:

                  <commands>
                    <command idMso="DeclineInvitationNoResponse" enabled="true" onAction="ClickDeclineInvitationNoResponse1"/>
                    <command idMso="AcceptInvitationNoResponse" enabled="true"  onAction="ClickAcceptInvitationNoResponse1"/>
                    <command idMso="TentativeInvitationNoResponse" enabled="true"  onAction="ClickTentativeInvitationNoResponse1"/>
                  </commands>


    Above code works fine only in below cases

    1] Meeting invite - at Inbox - Explorer - preview pane options [DeclineInvitationNoResponse, AcceptInvitationNoResponse, TentativeInvitationNoResponse]
    2] Meeting invite - at Inbox - Inspector - options after opening meeting invite
    3] Meeting invite - at calendar folder - Inspector - options after opening meeting invite

    and does not work in all other below cases

    1] Meeting invite - at Inbox - Explorer - context menu options

    2] Meeting invite - at calendar folder - Explorer - context menu options

    3] Meeting invite - at calendar folder - Explorer - Ribbon options

    Also as per info at below link i was just able to disable main menu decline link in context menu but not the sub-option:

    https://social.msdn.microsoft.com/Forums/office/en-US/e0c98369-ee08-4c4a-aef3-f48e9bba18a8/how-to-disable-menu-entry-from-calendar-item-context-menu-in-outlook-2010?forum=outlookdev

    Can someone please advise how to capture all options [DeclineInvitationNoResponse, AcceptInvitationNoResponse, TentativeInvitationNoResponse] at all possible places?

    Also i see that at Inbox when we right click (context menu) on meeting invite it shows only single Accept?Tentative/Decline options instead of along with its sub-options, these sub-options are available on a popup only when we click one of this option. How can we handle capturing "Do Not Send A response" option in such case?

    Kindly advise.


    Thanks,

    Suresh



    sureshh...


    • Edited by sureshh Thursday, August 4, 2016 4:29 AM updated link
    Thursday, August 4, 2016 4:28 AM
  • >>>How can we handle capturing "Do Not Send A response" option in such case?

    According to your description, as far as we know that if we choose not to send a response, there is nothing you can do using Outlook's native features. If a user chooses not to send a response, it won't be sent and tracking won't be updated in outlook. So I think that this is not possible to handle capturing "Do Not Send A response" option in such case.

    In addition if you have any feedback for Outlook, you could submit them to User Voice:

    https://outlook.uservoice.com/

    Thanks for your understanding.
    • Proposed as answer by David_JunFeng Thursday, August 11, 2016 1:52 PM
    • Marked as answer by David_JunFeng Tuesday, August 16, 2016 2:05 PM
    Thursday, August 4, 2016 9:09 AM