Gets an M-Files URL for the specified object or file.
Visual Basic |
---|
Public Function GetMFilesURLForObjectOrFile( _ ByVal ObjID As ObjID, _ Optional ByVal TargetVersion As Long = -1, _ Optional ByVal SpecificVersion As Boolean = False, _ Optional ByVal File As Long = -1, _ Optional ByVal URLType As MFilesURLType = MFilesURLTypeShow _ ) As String |
Value | Description |
---|---|
MFilesURLTypeEdit | Specifies an URL for performing the open-for-edit action for the target file. |
MFilesURLTypeOpen | Specifies an URL for performing the default open action for the target file. |
MFilesURLTypeShow | Specifies an URL for showing the object version. The URL does not open the target file. |
MFilesURLTypeShowMetadata | Specifies an URL for showing the metadata card for the target object. |
MFilesURLTypeView | Specifies an URL for performing the read-only open action for the target file. |