UrlHelperGetObjectUrl Method
Generates a url pointing to an object for the specified platform.
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public static string GetObjectUrl(
ObjVerEx objVerEx,
UrlTargetPlatform platform = UrlTargetPlatform.Desktop,
bool specificVersion = false,
MFilesURLType urlType = MFilesURLType.MFilesURLTypeShow
)
- 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)
StringURL string.