Skip to main content

Using Nintex 2013, creating an item in another site (link to a document content type), the link item is created but is checked out even though all columns have data.  I can create it manually on the site with File --> New Link to a Document and it's checked in.  I found reference to a Nintex bug addressed, but thought it had been resolved in a previous update.  Is this still a known issue?

Hi,

 

If the target library has got 'Require documents to be checked out before they can be edited?' set to yes then it will leave the document checked out.

 

If you need to keep this setting then you can add an additional step in the workflow that will check the document in for you.

 

  1. After the Create item in another site action add a Web service action and use the Lists.asmx service setting the URL to be "http://mytargetsite/_vti_bin/lists.asmx".
  2. Use Web method "CheckInFile".
  3. Set pageUrl parameter to be the absolute URL of your target document, e.g. http://mytargetsite/libraryname/mydoc.docx
  4. Set CheckinType  to one of the following 0, 1 or 2, where 0 = MinorCheckIn, 1 = MajorCheckIn, and 2 = OverwriteCheckIn

 

149201_pastedImage_0.png

 

Hope that helps.

 

Jan


Reply