Can SharePoint Copy.CopyIntoItems WSDL also perform a CheckIn

Laford, Thomas 0 Reputation points

When using the SharePoint WSDL Copy.CopyIntoItems it leaves the file checked out. Is there a way to configure it to automatically check in as well (instead of having to use the SharePoint WSDL Lists.CheckInFile?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ns1:CopyIntoItems xmlns:ns1="">
    <ns1:string>$DATA('SQL - SharePoint Upload Parameters','SHAREPOINT_URL', 0)$/$DATA('SQL - SharePoint Upload Parameters','SHAREPOINT_LIBRARY', 0)$/$DATA('SQL - SharePoint Upload Parameters','SOURCE_FILE', 0)$</ns1:string>
    <ns1:FieldInformation DisplayName="Company" InternalName="Field1" Type="Text" Value="$DATA('SQL - Parameters','COMPANY_CODE', 0)$"/>
    <ns1:FieldInformation DisplayName="Sequence" InternalName="Sequence" Type="Number" Value="$DATA('SQL - Parameters','HTZ_SEQUENCE', 0)$"/>
    <ns1:FieldInformation DisplayName="Version Number" InternalName="Version_x0020_Number" Type="Number" Value="$DATA('SQL - Parameters','SYS_VERSION_NUMBER', 0)$"/>
    <ns1:FieldInformation DisplayName="Version Sub" InternalName="Version_x0020_Sub" Type="Number" Value="$DATA('SQL - Parameters','HTZ_VERSION_SUB_NUMBER', 0)$"/>
  <ns1:Stream>$BASE64ENCODE('Binary File')$</ns1:Stream>

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,083 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,770 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 32,876 Reputation points Microsoft Vendor

    Hi @Laford, Thomas,

    Per my research, we are unable to set file is checked in with Copy.CopyIntoItems. You could refer to the parameters in the function. There is no such parameter relate to checked in.

    I feel regretful to inform you that it turns out to be a by-design one. It is highly recommended that you can vote this ticket. Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future. Thanks for your understanding.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.