How to prevent saving of Outlook.AppointmentItem in case some rules are broken defined by Outlook PluginOutlook AppointmentItem Write Event - how many times does it executeCancellation of Outlook AppointmentItemsHow to save an email to disk without making Outlook unresponsive/look busy?Outlook 2007 Property Change not firing when removing recipientsHow to save an email to a folder instead of sending it when the user presses the send button in OutlookHow does WebEx addin knows that it's a WebEx Appointment it's updating in Outlook?In Outlook Interop, how do I tell if an AppointmentItem has been saved (and not simply closed without saving)?VSTO Addin, AppointmentItem How to Save without Sending an update to recipientsVSTO Outlook How to get the previous AppointmentItem in a chain of AppointmentItems within recurring meetingsHow to update Outlook AppointmentItem using ICS with the right sequence number? I.e. how to determine sequence number?
Is a stroke of luck acceptable after a series of unfavorable events?
Where does the Z80 processor start executing from?
How to Reset Passwords on Multiple Websites Easily?
Valid Badminton Score?
How does buying out courses with grant money work?
Is there a good way to store credentials outside of a password manager?
Was Spock the First Vulcan in Starfleet?
Do sorcerers' Subtle Spells require a skill check to be unseen?
How easy is it to start Magic from scratch?
What is the opposite of 'gravitas'?
Crossing the line between justified force and brutality
Different result between scanning in Epson's "color negative film" mode and scanning in positive -> invert curve in post?
Is there a problem with hiding "forgot password" until it's needed?
How to write papers efficiently when English isn't my first language?
Class Action - which options I have?
Increase performance creating Mandelbrot set in python
Would this custom Sorcerer variant that can only learn any verbal-component-only spell be unbalanced?
Escape a backup date in a file name
How to run a prison with the smallest amount of guards?
What does "I’d sit this one out, Cap," imply or mean in the context?
What is the intuitive meaning of having a linear relationship between the logs of two variables?
Return the Closest Prime Number
Do the temporary hit points from the Battlerager barbarian's Reckless Abandon stack if I make multiple attacks on my turn?
How does it work when somebody invests in my business?
How to prevent saving of Outlook.AppointmentItem in case some rules are broken defined by Outlook Plugin
Outlook AppointmentItem Write Event - how many times does it executeCancellation of Outlook AppointmentItemsHow to save an email to disk without making Outlook unresponsive/look busy?Outlook 2007 Property Change not firing when removing recipientsHow to save an email to a folder instead of sending it when the user presses the send button in OutlookHow does WebEx addin knows that it's a WebEx Appointment it's updating in Outlook?In Outlook Interop, how do I tell if an AppointmentItem has been saved (and not simply closed without saving)?VSTO Addin, AppointmentItem How to Save without Sending an update to recipientsVSTO Outlook How to get the previous AppointmentItem in a chain of AppointmentItems within recurring meetingsHow to update Outlook AppointmentItem using ICS with the right sequence number? I.e. how to determine sequence number?
I want to write an OutlookPlugin which prevents the user from saving / updating an AppointmentItem in case the title is shorter than n characters.
I can handly the updateEvent (Item_Change) event. But it does not prevent Outlook from finally saving the title anyways.
Any ideas?
vsto outlook-addin
add a comment |
I want to write an OutlookPlugin which prevents the user from saving / updating an AppointmentItem in case the title is shorter than n characters.
I can handly the updateEvent (Item_Change) event. But it does not prevent Outlook from finally saving the title anyways.
Any ideas?
vsto outlook-addin
add a comment |
I want to write an OutlookPlugin which prevents the user from saving / updating an AppointmentItem in case the title is shorter than n characters.
I can handly the updateEvent (Item_Change) event. But it does not prevent Outlook from finally saving the title anyways.
Any ideas?
vsto outlook-addin
I want to write an OutlookPlugin which prevents the user from saving / updating an AppointmentItem in case the title is shorter than n characters.
I can handly the updateEvent (Item_Change) event. But it does not prevent Outlook from finally saving the title anyways.
Any ideas?
vsto outlook-addin
vsto outlook-addin
asked Mar 21 at 15:57
user668338user668338
9863819
9863819
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284508%2fhow-to-prevent-saving-of-outlook-appointmentitem-in-case-some-rules-are-broken-d%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.
add a comment |
Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.
add a comment |
Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.
Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.
answered 2 days ago
Eric LegaultEric Legault
4,51621322
4,51621322
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284508%2fhow-to-prevent-saving-of-outlook-appointmentitem-in-case-some-rules-are-broken-d%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown