Checkin Form on MOSS Submit - InfoPath Dev
in

InfoPath Dev

Checkin Form on MOSS Submit

Last post 11-12-2009 05:17 AM by TerryB. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-28-2006 07:22 AM

    • ATCJ
    • Not Ranked
    • Joined on 12-28-2006
    • Posts 2

    Checkin Form on MOSS Submit

    I have a form which is published to a MOSS 2007 Doc Library that has an approval process. I fill out the form and click submit and the form is saved properly with the correct name but it shows as checked out and I have to manually tell it to check in to start the approval process. Is there a way to set my form on the submit to have it automatically check the form in at the same time to start the approval process?

    Thanks,

    Jason
  • 01-02-2007 12:45 PM In reply to

    Re: Checkin Form on MOSS Submit

    Hi Jason,
    In the past (WSS 2003), we've done this with code in the form. For a MOSS 2007 Doc Library, there may be a new feature as part of SharePoint workflow to enable this, but we haven't done much with that yet. If not, you can always use code.
    Patrick Halstead
    Project Manager at Qdabra
  • 06-20-2008 02:30 PM In reply to

    • SAK
    • Not Ranked
    • Joined on 05-27-2008
    • Irvine, CA
    • Posts 7

    Re: Checkin Form on MOSS Submit

    I am facing the same problem. I designed a browser enabled form using InfoPath 2007 in SharePoint 2007 as content type. When the user create a new form and submits it, I create a file name automatically by concatenating a string ["CR"] and the "Id" from the SharePoint list. The problem arises when a user creates a new form and submits it. It creates the file name and saves it but it keeps the file checked out. So before that user checks in that file manually, if  any other user creates a new form and submits it, it throws out an error. This happens because the second form gets the same Id as the previous one as it has not got checked in. Am I doing anything wrong here?

     What I do to prevent this? Do I need to write a code [how?] to check in the file automatically when the user hits submit button or is there any other way to accomplish this. Thanks.
     

  • 11-12-2009 05:17 AM In reply to

    Re: Checkin Form on MOSS Submit

    Patrick, do you have the code (WSS 2003) that you refer to to checkin/checkout the form? Thanks,
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.