IViewServiceSaveScorecardAsReport Method |
Converts and saves an existing scorecard as a new report.
Namespace:
Dundas.BI.Entities.Views
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxGuid SaveScorecardAsReport(
Guid viewId,
Guid targetId,
string newName,
EntryCreationOptions options
)
Function SaveScorecardAsReport (
viewId As Guid,
targetId As Guid,
newName As String,
options As EntryCreationOptions
) As Guid
Guid SaveScorecardAsReport(
Guid viewId,
Guid targetId,
String^ newName,
EntryCreationOptions^ options
)
abstract SaveScorecardAsReport :
viewId : Guid *
targetId : Guid *
newName : string *
options : EntryCreationOptions -> Guid
Parameters
- viewId
- Type: SystemGuid
The ID of the scorecard. - targetId
- Type: SystemGuid
The ID of the target to save the report in. - newName
- Type: SystemString
The file name of the report 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 report.
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 report. |
| NotFoundException | The entity with the specified ID does not exist. |
See Also