GetWebLink
Description
Get web link for an object.
Syntax
// ICommonFunctions is binded into the MFiles global object
const result = await MFiles.GetWebLink(
objId,
objGUID,
fileGUID,
fileID,
isLatestVersion,
version,
viewInfo,
externalID,
);
Parameters
Name | Type | Description |
---|---|---|
objId | object | The target object to prepare link. |
objGUID | string | Object GUID. |
fileGUID | string | Object File GUID. - Optional |
fileID | string | Object File GUID. - Optional |
isLatestVersion | boolean | Is the object to be viewed should be of the latest version. |
version | number | If it is not requested for latest version then specify the version no here. |
viewInfo | object | View item's info. - Optional |
externalID | string | If it is not requested for latest version then specify the version no here. - Optional |
Return type
Type | Description |
---|---|
Promise < string > | Navigation URL. |