Function PropertyURL
Make up a property URL
PropertyURL([ALIAS],[PROPCODE],[BRANCHCODE],[URLSTYLE],[URLCODE])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | string | required | n/a | ALIAS | The alias to use e.g. alias() or "PROPERTY" |
| 2 | string | required | n/a | PROPCODE | The property code |
| 3 | string | optional | none | BRANCHCODE | The branch code |
| 4 | integer | optional | 1 | URLSTYLE | The type of URL to make up: 1 = EstatesIT.com 2 = Integration Pack 3 = Estates IT Written Website 4 = Client Gateway Page 5 = Online Particulars |
| 5 | string | optional | none | URLCODE | The URL tempplate used if URLSTYLE > 0 is passed |
Returns
The made up property URL from the current alias
Examples
[[PropertyURL(alias(),PROPCODE,BRANCH)]]
