The VaultViewOperations class represents the available view operations.
AddOfflineFilter | Adds a new offline filter. Returns the added filter view. |
AddTemporarySearchViewEx | Adds a temporary search view. Returns the added view. |
AddView | Adds a new view. Returns the added view. |
FindPropertyFolderLocationInView | Gets the locations of a property folder in a view. |
GetBuiltInView | Gets a built-in view. |
GetFolder | Gets the specified folder in the vault. |
GetFolderContents | Gets the contents of the specified folder. |
GetFolderNameListing | Gets the folder names inside a folder specified by the property conditions. |
GetFolderUIStateForFolder | Retrieves the UI settings of a specified folder. |
GetFolderUIStateForSpecialLocation | Retrieves the UI settings of a specified folder. |
GetIconAsBytes | Gets the external repository icon in PNG format. |
GetLinkURLForView | For the specified view, gets a link to a web page that is used to open the item in the preferred M-Files client. |
GetMFilesURLForView | Gets an M-Files URL for a view. |
GetPropertyValuesOfFolder | Extracts as many property values from the given folder location as possible for the purposes of prefilling metadata when creating new objects of the specified type. May return zero or more property values. |
GetPropertyValuesOfPath | Extracts as many property values from the given path string as possible for the purposes of prefilling metadata when creating new objects of the specified type. May return zero or more property values. Does not fail if the path no longer exists. |
GetTemporarySearchByPath | Gets information on the temporary search view specified by the path. |
GetTemporarySearchView | Gets information on the specified temporary search view. |
GetView | Gets the specified view in the vault. |
GetViewIDByGUID | Gets the ID of the metadata structure element with the specified GUID. Returns -1 if a match is not found. |
GetViewLocationInClient | Gets the view locations. |
GetViews | Gets all views of the vault. |
GetViewsAdmin | Gets the common views and/or views for a specific user. |
ModifyTemporarySearch | Modifies the temporary search view. |
RemoveView | Deletes the specified view. |
RequestClientDirectoryRefresh | Requests the client cache refresh for a directory structure. |
ResetFolderUIStateForFolder | Resets the UI settings of a specified folder to program defaults or common defaults. |
ResetFolderUIStateForSpecialLocation | Resets the UI settings of a specified folder to program defaults or common defaults. |
SaveFolderUIStateForFolder | Saves the UI settings of a specified folder. |
SaveFolderUIStateForSpecialLocation | Saves the UI settings of a specified folder. |
SetViewVisibility | Sets the visibility of a view for the user in the default listing of the view. |
ShowViewOrPropertyFolder | Shows the given view or property folder. |
UpdateView | Updates the specified view. Returns the updated view. |
' Construct view object. Dim oView As New MFilesAPI.View oView.Common = True oView.Name = "Test View" oView.ViewType = MFilesAPI.MFViewType.MFViewTypeNormal ' Create search conditions for the view: object status is not deleted Dim oExpression As New MFilesAPI.Expression oExpression.SetStatusValueExpression(MFilesAPI.MFStatusType.MFStatusTypeDeleted) Dim oTypedValue As New MFilesAPI.TypedValue oTypedValue.SetValue(MFilesAPI.MFDataType.MFDatatypeBoolean, False) Dim oDeleted As New MFilesAPI.SearchCondition oDeleted.ConditionType = MFilesAPI.MFConditionType.MFConditionTypeEqual oDeleted.Set(expression, MFilesAPI.MFConditionType.MFConditionTypeEqual, oTypedValue) oView.SearchConditions.Add(-1, oDeleted) ' Add the view to client. oView = oVault.ViewOperations.AddView(oView)