Redirects to web objects of the KB or any external URL.
Link( usr-pgm | ’url’ [{, parm}…] )
Where:
usr-pgm
Is the name of the Web Panel to where it is going to redirect.
url
Is the name of URL to where it is going to redirect.
parm
Are the parameters that the Web Panel or URL receives.
Objects: Transaction, Web Panel, Procedure, Panel
Generators:
.NET,
.NET Framework,
Java,
Angular,
Apple,
Android
The Link command is equivalent to the Call command, but it is specific to the web. When this command is used, there is an automatic redirecting to the URL specified in it.
When it is used in a Web Panel, it can be used in any event, except for the Load event.
Event Enter //External URL
Link(‘http://www.example.com’)
EndEvent
Event 'MyEvent' //Object known at design-time
Link(Client,1,!'INS')
Client(1,!'INS') // recommended coding style
EndEvent
Event 'MyEvent' //Object known at run-time
&MyObject = !'Client'
Link(&MyObject,1,!'INS')
EndEvent
Link Function
Parameters Style property for Environments
Call command