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 (8.0.2.1001)
SyntaxGuid SaveReportAsScorecard(
Guid viewId,
Guid targetId,
string newName,
EntryCreationOptions options
)
Function SaveReportAsScorecard (
viewId As Guid,
targetId As Guid,
newName As String,
options As EntryCreationOptions
) As Guid
Guid SaveReportAsScorecard(
Guid viewId,
Guid targetId,
String^ newName,
EntryCreationOptions^ options
)
abstract SaveReportAsScorecard :
viewId : Guid *
targetId : Guid *
newName : string *
options : EntryCreationOptions -> Guid
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:
GuidThe ID of the new scorecard.
Exceptions| Exception | Condition |
|---|
| ArgumentException | viewId is Empty. -or- targetId is Empty. -or- newName is empty, only consists of whitespace, or contains invalid characters. |
| InvalidSessionException | The 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. |
| NotFoundException | The entity with the specified ID does not exist. |
See Also