AnalysisApplicationSaveCopy Method (LibraryItem, String, LibraryItemMetadataSettings, DocumentSaveSettings)

Spotfire 14.2 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: 64.0.19329.3263 (64.0.19329.3263)
Syntax

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

Parameters

folder
Type: Spotfire.Dxp.Framework.LibraryLibraryItem
The library folder in which to save the document.
title
Type: SystemString
The title of the library item that the document will be saved to.
metadataSpecification
Type: Spotfire.Dxp.Framework.LibraryLibraryItemMetadataSettings
The metadata to associate with the library item.
settings
Type: Spotfire.Dxp.ApplicationDocumentSaveSettings
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).
Version Information

Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference