View
Struct for a single view.
| Full name | MFiles.View |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
id | int32 | 1 | The ID of the view. |
type | ViewType | 2 | The type of the view.Values: VIEW_TYPE_SHOW_OBJECTS (0), VIEW_TYPE_FILTER_ONLY (1). |
name | string | 3 | The name of the view. |
is_common | bool | 4 | Tells if the view is admin-defined (common) or user-defined. |
is_visible | bool | 5 | Tells if the view is visible. |
location | ViewLocation | 6 | The location of the view. Valid only if bHasParent is true. |
content_definition | SearchDef | 7 | The search definition that contains the view levels and search conditions of the view. |
acl | AccessControlList | 8 | Permissions. |
flags_obsolete | uint32 | 9 | Bit flags that provide additional information on the view. |
options | VIEWFLAGS | 11 | Bit flags that provide additional information on the view. |
guid | string | 10 | GUID for the view. |
view_visualization | ViewVisualization | 12 | View visualization information. |
Used by methods
- IRPCSearch.GetFolderContents -- Lists the contents of a view or a view level: subviews, grouping folders and objects.
- IRPCViews.AddNewView -- Creates a new private or common view.
- IRPCViews.CopyView -- Copies a private view that another user has shared, with its child views, into the caller's own views.
- IRPCViews.GetViews -- Gets the calling user's view collection: all views, or the direct child views of one view.
- IRPCViews.ModifyView -- Replaces the definition of an existing view.
- IRPCViewsAdmin.GetViewsAndUsersAdmin -- Gets all common views and the private views of all users, with the owner of each private view.
- IRPCWorkspace.CreateTemporaryWorkspaceView -- Builds the definitions of a new workspace tab view and its reverse view for a pair of object types, without saving the views.
Used in fields
FolderDataUnion.ViewFolderData.view-- The view.PropertyFolderWithParent.last_parent_view-- The last view and search conditions from the parent folder.ViewsOrDelta.views-- Views. This contains inserted or updated views if this struct represents a delta, otherwise it contains just a "normal" array of views.ViewsOrDeltaEx.views-- Views. This contains inserted or updated views if this struct represents a delta, otherwise it contains just a "normal" array of views.ViewWithParentLocation.value-- Resulting the view.GetFolderContentsResponse.view_folders-- Resulting views array.AddNewViewRequest.utf8szview-- The new view. Set at leastname,type,is_common,is_visibleandcontent_definition; for a common view alsoacl.idandguidare ignored.AddNewViewResponse.new_view-- The view as stored, with its new ID and GUID.ModifyViewRequest.utf8szview-- The complete new definition of the view, with theidof the view to change.GetViewsResponse.views-- The views. See View.CopyViewResponse.putf8szviews-- The new view and its copied child views.GetViewsAndUsersAdminResponse.user_defined_views-- The private views of all users. See View.GetViewsAndUsersAdminResponse.u_common_views-- All common views.CreateTemporaryWorkspaceViewResponse.view-- The tab view, not yet saved.CreateTemporaryWorkspaceViewResponse.reverse-- The view in the reverse direction, not yet saved.