IViewServiceSaveReportAsScorecard Method

Converts and saves an existing report as a new scorecard.

Namespace:  Dundas.BI.Entities.Views
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
Guid SaveReportAsScorecard(
	Guid viewId,
	Guid targetId,
	string newName,
	EntryCreationOptions options
)

Parameters

viewId
Type: SystemGuid
The ID of the report.
targetId
Type: SystemGuid
The ID of the target to save the scorecard in.
newName
Type: SystemString
The file name of the scorecard to create.
options
Type: Dundas.BI.FileSystemEntryCreationOptions
Options for creating the copy; or to use the default options.

Return Value

Type: Guid
The ID of the new scorecard.
Exceptions
ExceptionCondition
ArgumentException

viewId is Empty.

-or-

targetId is Empty.

-or-

newName is empty, only consists of whitespace, or contains invalid characters.

InvalidSessionExceptionThe caller context is not associated with a valid session.
NoPrivilegeException

The caller does not have the Read privilege on the view.

-or-

The session does not have the privilege to create a scorecard.

NotFoundExceptionThe entity with the specified ID does not exist.
See Also