Întrebare Override checkin from Word with EventReceivers

  • jeudi 4 septembre 2008 15:56
     
     
    Hello,

    I need to create a solution, where based on custom business logic, I need to override check-ins from users within Word application.
    For instance... sometimes when the user wants to do a Major check in of document, I need to override it and perform a Minor check in.
    I tried to do this with EventReceivers, overriding the ItemCheckingIn method.
    The action is successful, however Word reports an error saying: "Cannot perform this operation. The file is no longer checked out or has been deleted.".

    Is it possible to bypass this error, since it irritates users. It occurred also in sharepoint on checking-in, but I managed to go around it by using SPUtility.Redirect. However I didn't find a similar solution that I can use with Word.

    I would really appreciate some advices :)

    BR
    MT

Toutes les réponses

  • mercredi 21 mars 2012 09:56
     
     

    Hi, .. I did not try it  but a checkin need a check out before it ...

    why not to try to check out on document open??

  • mercredi 21 mars 2012 10:06
     
     

    Hello,

    of course, the document was checked out first.

    But nevermind, this was issue 4 years ago...


    Please don't forget to mark the post as Helpful if you find my comment useful and as Answer if it solved your problem.

  • mardi 27 mars 2012 14:18
     
     
    Very good one!!  Sorry I did not notice the date of the post