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?













0















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?










share|improve this question


























    0















    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?










    share|improve this question
























      0












      0








      0








      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 15:57









      user668338user668338

      9863819




      9863819






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.






          share|improve this answer






















            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
            );



            );













            draft saved

            draft discarded


















            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









            0














            Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.






            share|improve this answer



























              0














              Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.






              share|improve this answer

























                0












                0








                0







                Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.






                share|improve this answer













                Try hooking into the AppointmentItem.Write event. You can set the Cancel argument to false to prevent the changes from being saved.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                Eric LegaultEric Legault

                4,51621322




                4,51621322





























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript