This function computes the URL to a content item based on the data on the page.
For example, this function can be called to generate a URL to an item when looping over a ResultSet of items.
The following information must be present on the page:
dDocAccount (optional)
dDocName
dDocType
dProcessingState
dRevLabel
dSecurityGroup
dWebExtension
The only parameter indicates if the URL is relative, set to TRUE (1) or FALSE (0).