Hi,
My company uses K2 BlackPearl and SharePoint Portal Services 2010. I have a workflow that retrieves a sales order acknowledgement from SharePoint and sends it to the customer. The document is always in PDF format. Recently we have been experiencing a problem because K2 is sending an older version of the sales order acknowledgement to the customer. This happens when a user tries to open the acknowledgement pdf file to verify he/she uploaded the correct file. When Adobe X opens the pdf file the user is given two options "Check out and Open" or "Open". "Check out and Open" is on the left so they have a tendancy to click this button. They don't realize they are checking the document out when they do this so the document stays checked out and K2 retrieves the most recent checked-in version to send to the customer.
I've been playing around with the functions in the SharePoint Documents even in K2, mainly Check In Document and Undo Document Checkout. However, if a document is not checked out and you call the Undo Document Checkout the workflow errors out. Is there a way to determine if a SharePoint document is checked out before calling Undo Document Checkout?
Is there a better way to go about handling this? For example, is there a setting in SharePoint that I could change so that PDF files could not be checked out in this document library? Or, is there a way to "turn off" the "Check out and Open" button when the user is opening a PDF file?
Thanks in advance.
Holly Myers