AnalysisApplication SaveCopy Method (LibraryItem, String, LibraryItemMetadataSettings, DocumentSaveSettings) TIBCO Spotfire 6.0 API Reference
Saves a copy of the currently loaded document to the library with the specified title in the specified folder.

Namespace: Spotfire.Dxp.Application
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public LibraryItem SaveCopy(
	LibraryItem folder,
	string title,
	LibraryItemMetadataSettings metadataSpecification,
	DocumentSaveSettings settings
)

Parameters

folder
Type: Spotfire.Dxp.Framework.Library LibraryItem
The library folder in which to save the document.
title
Type: System String
The title of the library item that the document will be saved to.
metadataSpecification
Type: Spotfire.Dxp.Framework.Library LibraryItemMetadataSettings
The metadata to associate with the library item.
settings
Type: Spotfire.Dxp.Application DocumentSaveSettings
Controls some aspects of how the document is saved. For instance whether a configuration block is embedded.

Return Value

Type: LibraryItem
Remarks

Does not update DocumentOrigin et al. Will overwrite an existing item and keep the existing library item id (if permissions allow this).
See Also