M-Files API 23.11.13135.0
AddTemporarySearchViewEx Method
VaultViewOperations Object : AddTemporarySearchViewEx Method
A view object to be used as a basis for a new temporary search view.
A container object for the set of search conditions to be used for the new view. The search conditions will be copied over to the view definition.

If this is set to "true", advanced search conditions are applied even if the search options section in the user interface is not expanded. If this is set to "false", the search options section in the user interface must be expanded for the advanced search conditions to be applied. In other words, the latter option works the same way as the user interface.

Description
Adds a temporary search view. Returns the added view.
Syntax
Visual Basic
Public Function AddTemporarySearchViewEx( _
   ByVal View As View, _
   ByVal SearchCriteria As SearchCriteria, _
   ByVal ForceUsingAdvancedSearchConds As Boolean _
) As View
Parameters
View
A view object to be used as a basis for a new temporary search view.
SearchCriteria
A container object for the set of search conditions to be used for the new view. The search conditions will be copied over to the view definition.
ForceUsingAdvancedSearchConds

If this is set to "true", advanced search conditions are applied even if the search options section in the user interface is not expanded. If this is set to "false", the search options section in the user interface must be expanded for the advanced search conditions to be applied. In other words, the latter option works the same way as the user interface.

Remarks

This method is the updated version of the now deprecated method "AddTemporarySearchView", and no longer uses the redundant "BaseSearchConditions" parameter.

This method is available only if M-Files API is used in the client interface mode.

See Also

VaultViewOperations Object  | VaultViewOperations Members