$getDefaultURL

Returns the default url suitable to call the template specified.
Syntax
    $getDefaultURL{template_name}{branchID}{category_name}{static}
DocumentationReturns 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).

    Parameters:
      template_name, the name of the template to call.
      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:
    $getDefaultURL{Customer_Template1}{$getCurrent{i}}

    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
Example 2:
    <A HREF="$getDefaultURL{Customer_Template1}{$getCurrent{i}}">link to page</A>

    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)
GroupNet
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 3