Document Metadata

from Spotfire.Dxp.Application import DocumentMetadata
print Application.DocumentMetadata.LoadedFromLibraryPath

Here are more properties from DocumentMetadata
 NameDescription
Public propertyFileNameUsedBySave
Gets the current file name used by save operations initiated by the user.
Public propertyIsDirty
Returns true if the document has been changed since it was last saved.
Public propertyLibraryItemUsedBySave
Gets the library item that the analysis was last saved to in the library; otherwise null.
Public propertyLoadedFromFileName
Gets the file name that the analysis was opened from; otherwise null.
Public propertyLoadedFromLibraryItem
Gets the library item that the analysis was opened from; otherwise null.
Public propertyLoadedFromLibraryPath
Gets the library path that the analysis was opened from; otherwise null.

Previous
Next Post »