IRPCViews.CopyView

View as Markdown

Vault API / standard write session or assertion returns metadata structure version

Copies a private view that another user has shared, with its child views, into the caller's own views.

ServiceViews MFiles.IRPCViews
gRPC method/MFiles.IRPCViews/CopyView
HTTP (mf-http-grpc)POST /grpc/v1/copy-view
RequestCopyViewRequest
ResponseCopyViewResponse
Book and levelVault API, standard
Kindwrite
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentno
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: CopyViewRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
view_idItemIDThe ID of the shared view (internal_id).
view_id.internal_idint32The ID of the object or value list item.
view_id.external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
view_id.external_repository_id.connectionstringThe external repository connection identifier.
view_id.external_repository_id.itemstringExternal ID within the scope of the connection to external system.

Response: CopyViewResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page. Fields marked (recursive) refer to a type already on their path.

FieldTypeDescription
putf8szviews[]repeated ViewThe new view and its copied child views.
putf8szviews[].idint32The ID of the view.
putf8szviews[].typeViewTypeThe type of the view.Values: VIEW_TYPE_SHOW_OBJECTS (0), VIEW_TYPE_FILTER_ONLY (1).
putf8szviews[].namestringThe name of the view.
putf8szviews[].is_commonboolTells if the view is admin-defined (common) or user-defined.
putf8szviews[].is_visibleboolTells if the view is visible.
putf8szviews[].locationViewLocationThe location of the view. Valid only if bHasParent is true.
putf8szviews[].location.parent_folder[]repeated FolderArray of folders describing the parent folder of the view. The first element of the array must be a view folder. Other elements, if any, are property folders.
putf8szviews[].location.customizes_property_folderboolTrue if the view is overlapping with a property folder.
putf8szviews[].location.customized_property_folderTypedValueThe overlapped property folder. Ignored if bOverlapping is false.
putf8szviews[].content_definitionSearchDefThe search definition that contains the view levels and search conditions of the view.
putf8szviews[].content_definition.filter_conditions[]repeated SearchConditionThe conditions that limit the object set of this search.
putf8szviews[].content_definition.grouping_levels[]repeated GroupingLevelView levels (the display hierarchy of this search).
putf8szviews[].content_definition.optionsSearchFlagsSearch flags. This affects the resulting object version set and also distinct view level values displayed inside this search.
putf8szviews[].aclAccessControlListPermissions.
putf8szviews[].acl.checked_out_to_userint32Specifies the ID of the user who has extended rights because of the checkout operation performed by her. 0 if such user does not exist.
putf8szviews[].acl.is_fully_authoritativeboolSpecifies whether this access control list is set to ignore the secondary permissions that come from the latest checked in version.
putf8szviews[].acl.custom_componentAccessControlListComponentAccesses the custom component of this ACL.
putf8szviews[].acl.restrictive_components[]repeated AccessControlListComponentMapEntryAccesses the restrictive automatic components of this ACL.
putf8szviews[].acl.secondary_access_control_listAccessControlList (recursive)Secondary ACL used for latest version ACL. Not used for access check if null.
putf8szviews[].acl.additive_components[]repeated AccessControlListComponentMapEntryAccesses the additive automatic components of this ACL.
putf8szviews[].flags_obsoleteuint32Bit flags that provide additional information on the view.
putf8szviews[].optionsVIEWFLAGSBit flags that provide additional information on the view.
putf8szviews[].options.allboolSpecifies all flags set; Including any future flags.
putf8szviews[].options.indexedboolMaterialized/indexed view.
putf8szviews[].options.incompatible_with_full_text_searchboolThe search conditions of the view definition (excluding the grouping levels) are not compatible with full-text search.
putf8szviews[].options.sort_across_all_pages_disabledboolSorting search results is disabled.
putf8szviews[].guidstringGUID for the view.
putf8szviews[].view_visualizationViewVisualizationView visualization information.
putf8szviews[].view_visualization.subview_groups[]repeated SubviewGroupThe subviews of the view as groups.