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 (24.3.0.1000)
Syntax
View CreateLocalUserCopy(
	Guid viewId
)

Parameters

viewId
Type: SystemGuid
The entity to create a local copy of.

Return Value

Type: View
The new view that is a copy.
Exceptions
ExceptionCondition
ArgumentExceptionviewId is Empty, or is not a valid view.
NotFoundExceptionThe entity with the specified ID does not exist.
NoPrivilegeExceptionThe caller does not have the Read privilege on the view.
InvalidSessionExceptionThe 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