M-Files API 23.11.13135.0
GetLinkURLForObjectOrFile Method
VaultObjectOperations Object : GetLinkURLForObjectOrFile Method
Description
For the specified object or file, gets a link to a web page that is used to open the item in the preferred M-Files client.
Syntax
Visual Basic
Public Function GetLinkURLForObjectOrFile( _
   ByVal ObjOrFileVer As ObjOrFileVer, _
   Optional ByVal SpecificVersion As Boolean = False, _
   Optional ByVal URLType As MFilesURLType = MFilesURLTypeShow _
) As String
Parameters
ObjOrFileVer
SpecificVersion
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.
See Also

VaultObjectOperations Object  | VaultObjectOperations Members