How to Invoke OOB CheckOut function in button click


  • Hi ,

    How do we Replicate the OOB Check out funtion in a custom page on button click event in sharepoint webpart.

    i.e other words if OOB checkout uses open Document ActiveX controls ,whats the name of the

    OOB javascript function that gets invoked so that i can invoke the same javascript function

    on the click event of my button.


    Monday, August 26, 2013 7:09 PM


All replies

  • The ribbon definition seems to imply there is a command Ribbon.ListForm.Display.Manage.CheckOut - i'm not sure if there is a javascript command called this.

    There is a javascript function called CheckoutSelectedItems which takes a context parameter. It looks like:-

    var context = this.get_ctx();


    I haven't really explored this but i guess that's a starting place for you.

    Tuesday, August 27, 2013 3:10 AM
  • Why don't you use the CSOM to check out the items from the client side on your button click?


    Thursday, August 29, 2013 1:02 PM