SaveToRepositoryAs (Method)

Applies to:

ActiveDocument object

Description:

Note:

The SaveToRepositoryAs(Method) is only available for an Interactive Reporting document deployed in Interactive Reporting Web Client.

Uploads and saves as repository objects (data models, standard queries, and standard queries with reports) in an Interactive Reporting document (BQY) for version-controlled distribution to networked Interactive Reporting users.

Syntax:

Expression.SaveToRepositoryAs(String Filename, [optional] String Filedesc, [optional] Boolean bOverride)

Example:

This example shows how to save mybqy.bqy to the repository. Note that myfolder is in the current open directory.

ActiveDocument.SaveToRepositoryAs("myfolder/mybqy.bqy", "salesquery", true)