| Syntax |
|
| Documentation | Returns the default url suitable to call the template specified in parameter 1 in the branch specified in parameter 2 (optional, defaults to the current branch) in the category specified in parameter 3 (optional) by branch id either static or relative depending on parameter 4 (optional, defaults to 0 = relative).
branchID, a optional parameter to specify a branch other then the current, defaults to the id of the current branch. category_name, a optional parameter to specify a category other than the default category of the specified branch, defaults to the name of the default category of the specified branch. If this parameter is used than the 'branchID' parameter must also be used. static, a optional flag to indicate if the URL should be static or relative, 0 stands for static and 1 for relativ. The value defaults to relativ. |
| Examples | |
Example 1:
Result 1: returns the default URL for the template "Customer_Template1" with the account ID (rootbranch ID) given by the current variable "i": sfs?t=Customer_Template1&i=936713668594&b=936713668594&l=0 where t = template i = Account ID (rootbranch ID) b = current Branch ID l = language (0 = Standardlanguage) u = username p = password
Result 2: returns a hyperlink to the page "Customer_Template1" with the account ID (rootbranch ID) given by the current variable "i": link to page (hyperlink) |
|
| Group | Net |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | 3 |