M-Files API 22.6.11519.0
GetMFilesURLForObjectEx Method
VaultObjectOperations Object : GetMFilesURLForObjectEx Method
The version of the object for which the URL is requested.
This parameter must not be used. The object version is detected via the ObjVer parameter.
The type of the requested URL.
Description
Gets an M-Files URL for the specified object.
Syntax
Visual Basic
Public Function GetMFilesURLForObjectEx( _
   ByVal ObjVer As ObjVer, _
   ByVal SpecificVersion As Boolean, _
   Optional ByVal URLType As MFilesURLType = MFilesURLTypeShow _
) As String
Parameters
ObjVer
The version of the object for which the URL is requested.
SpecificVersion
This parameter must not be used. The object version is detected via the ObjVer parameter.
URLType
ValueDescription
MFilesURLTypeEditSpecifies an URL for performing the open-for-edit action for the target file.
MFilesURLTypeOpenSpecifies an URL for performing the default open action for the target file.
MFilesURLTypeShowSpecifies an URL for showing the object version. The URL does not open the target file.
MFilesURLTypeShowMetadataSpecifies an URL for showing the metadata card for the target object.
MFilesURLTypeViewSpecifies an URL for performing the read-only open action for the target file.
The type of the requested URL.
See Also

VaultObjectOperations Object  | VaultObjectOperations Members