Interlink Plug-in Configuration Parameters

The configuration parameters defined by the Interlink plug-in are accessed as if they were properties on the Business Interlink object. That is, in PeopleCode, you assign the value of a configuration parameter by using the Business Interlink object followed by a dot and the configuration parameter, in this format:

&MYINTERLINK.parameter = value;

You can also return the value of a configuration parameter:

&MYVALUE = &MYINTERLINK.parameter;

Each Business Interlink plug-in has its own set of configuration parameters. For example, the email project uses configuration parameters of SMTP_MAIL_SERVER, POP3MAIL_SERVER, LOGIN_NAME, PASSWORD, SENDERS_EMAIL_ADDRESS and REPLY_EMAIL_ADDRESS, while the Red Pepper transaction driver uses SERVER_NAME, RSERVER_HOST, RSERVER_PORT, and TIMEOUT.

You can specify default values for every configuration parameter in the Business Interlink definition (created in Application Designer.) These values are used if you create a PeopleCode "template" by dragging the Business Interlink definition from the Project window in Application Designer to an open PeopleCode editor window.

In the following example, the Interlink object name is QE_RP_SRAALL_1, and the driver is the Red Pepper driver:

&QE_RP_SRAALL_1.SERVER_NAME = "server"; 
&QE_RP_SRAALL_1.RSERVER_HOST = "pt-sun02.example.com"; 
&QE_RP_SRAALL_1.RSERVER_PORT = "9884"; 
&QE_RP_SRAALL_1.TIMEOUT = 999; 
&QE_RP_SRAALL_1.URL = "HTTP://www.example.com"; 
&QE_RP_SRAALL_1.StopAtError = False;