Tableau Connector for Microsoft SharePoint

Build 25.0.9434

DiscardCheckOutDocument

Reverts a checked-out document to its last saved state, canceling any unsaved changes. Useful for preventing unintended modifications.

Input

Name Type Required Description
Library String True The name of the SharePoint document library where the file is stored. Example: 'Shared Documents'.
RemoteFile String True The path of the file to discard the checkout for. This can be the full URL (such as 'https://yoursharepointsite.com/Shared Documents/report.docx') or the relative file name within the library.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the checkout was successfully discarded. Returns 'true' if the operation succeeded, otherwise 'false'.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434