AnalysisApplicationOpen Method (DataSource, DocumentOpenSettings) TIBCO Spotfire 7.6 API Reference
Opens a new document with data loaded from the specified source. Any currently open document will be closed.

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

C#
public virtual bool Open(
	DataSource source,
	DocumentOpenSettings settings
)

Parameters

source
Type: Spotfire.Dxp.DataDataSource
The data source from which data is to be opened.
settings
Type: Spotfire.Dxp.ApplicationDocumentOpenSettings
Controls how the document is opened. For instance whether the document is auto configured.

Return Value

Type: Boolean
This method always returns true. If there is an error during loading or if the user cancels a prompt, an exception is thrown.
Exceptions

ExceptionCondition
ImportException If the import fails, for example the data reader is not able to provide the data to import.
CanceledException If the opening of the file is canceled by the user.
NotSupportedException This method is called in the Spotfire Web Player.
Remarks

This method is not supported in the Spotfire Web Player. Calling it there will cause a NotSupportedException to be thrown.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference