Save (Method)

Applies To:

Connection object, MetaDataConnection object, Document object, WebClientDocument object

Description:

Saves changes to documents or Interactive Reporting database connection files (.oce).

Note:

Do not use ActiveDocument.Save()object in Interactive Reporting document file to be deployed in EPM Workspace.

Syntax:

Expression.Save()

Expression Required:

An expression that returns an object for these items:

Example:

This example shows how to create and save an Interactive Reporting document file:

var MyDocs = "c:\\Mydocs"
var MyName = "JavaScript Test"
var MyDoc = Documents.New(MyName)
MyDoc.Save()