buildLink()
Overview
public string function buildLink(
required string objectName
, string operation = ""
, string recordId = ""
, struct args
)
Returns the link to the given object, operation and optional recordId (required for most operations)
Arguments
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object |
operation | string | No (default="") | Operation to link to, e.g. listing, add, view, edit, editAction, etc. |
recordId | string | No (default="") | ID of the record to link to. Required for record based operations |
args | struct | No | Any additional args to send to the link builder |