XmlLink (variable name : indata :label : function : subfunction : target )
variable name = Constant or alphanumeric field (30A)
inddata = alfa field (640000A)
label = alfa field (30A) *optional
function = alfa field (30A) *optional
subfunction = alfa field (30A) *optional
target = alfa field (30A) *optional

Return type:
Encoded XML string


Description:
XmlLink returns a link to be used in html pages. It works like genlink but, instead of hardcodeing the values for the link, its controlled by the admin menu. This means that after using this once, it automatically creates a link i entry in the admin menu (menu item links) Here you can configure the link for what function, css and many more the link should use.

The entry is created under the function/subfunction it was executed under, with the name specified in variable 1.

This is normally used in conjunction with PutXmlRec function

Example:
xmllink('edit': xmlN('cus001id':cus001id))

or (the same but with more values)

xmllink('edit':''                  

+ xmlN('cus001id':cus001id)
+ xmlA('name':wkname)
)

Image

Notes and Restrictions:
The variable name is case sensitive