Excel Add-In for Claude Compliance

Build 26.0.9770

DownloadProjectDocument

Downloads the extracted text content of a project knowledge-base document.

Stored Procedure-Specific Information

Required input: DocumentId. The API response contains metadata plus a content field. This procedure consumes only that extracted plaintext or Markdown field, not the original binary upload or the surrounding JSON object. With no output destination, the add-in returns the UTF-8 text in Content. Set FileName to save it locally, or supply FileStream from your application to receive its UTF-8 bytes through an output stream. FileName takes precedence over FileStream.

To execute this procedure, enter:

	EXEC DownloadProjectDocument DocumentId = 'claude_proj_doc_123';
	EXEC DownloadProjectDocument DocumentId = 'claude_proj_doc_123', FileName = 'C:\\Downloads\\project-document.md';

Input

Name Type Required Description
DocumentId String True The project document Id to download. Required: Obtain it from ProjectAttachments.Id for a project_doc type.
FileName String False Optional absolute local path where the extracted document text is saved. Takes precedence over FileStream.

Result Set Columns

Name Type Description
Content String The UTF-8 text from the response content field when FileName and FileStream are not set.
Success Boolean Indicates whether the download completed successfully.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770