UrlHelperGetObjectUrl Method

Generates a url pointing to an object for the specified platform.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static string GetObjectUrl(
	ObjVerEx objVerEx,
	UrlTargetPlatform platform = UrlTargetPlatform.Desktop,
	bool specificVersion = false,
	MFilesURLType urlType = MFilesURLType.MFilesURLTypeShow
)

Parameters

objVerEx  ObjVerEx
The object to which the url should point.
platform  UrlTargetPlatform  (Optional)
The platform the url should target.
specificVersion  Boolean  (Optional)
Indicates whether the url should point to this specific version, or the latest version of the object.
urlType  MFilesURLType  (Optional)
The type of url to create. (Web type is always show)

Return Value

String
URL string.

See Also