IViewServiceCreateLocalUserCopy Method |
Creates a local user copy of a view in the user's project.
This will also copy any metric sets that are not sub-entries of the view.
This is a helper method to allow users to edit their own 'local' copy of a view.
Namespace:
Dundas.BI.Entities.Views
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxView CreateLocalUserCopy(
Guid viewId
)
Function CreateLocalUserCopy (
viewId As Guid
) As View
View^ CreateLocalUserCopy(
Guid viewId
)
abstract CreateLocalUserCopy :
viewId : Guid -> View
Parameters
- viewId
- Type: SystemGuid
The entity to create a local copy of.
Return Value
Type:
ViewThe new view that is a copy.
Exceptions| Exception | Condition |
|---|
| ArgumentException | viewId is Empty, or is not a valid view. |
| NotFoundException | The entity with the specified ID does not exist. |
| NoPrivilegeException | The caller does not have the Read privilege on the view. |
| InvalidSessionException | The caller context is not associated with a valid session. |
| InvalidOperationException | viewId corresponds to a type of entry which may not be copied. -or- The original entry is being copied as a subentry of an item which is not checked out to the caller. |
See Also