SetupCompVarsAndRcptsLevel1 method: NotificationTemplate class
Syntax
SetupCompVarsAndRcptsLevel1(&Rowset_Context, row_num)
Description
Use the SetupCompVarsAndRcpts method to set up variables for the component from the provided rowset. This method also sets up any additional recipients defined in the component.
The rowset corresponds to the component that the notification template was instantiated with. For example, if you created a notification template for JOB, the rowset used with this method should be based on the JOB component.
If you want to expand a component template, you must use this method first, before expanding the template.
Parameters
| Parameter | Description |
|---|---|
|
&Rowset_Context |
Specify an already instantiated and populated Rowset object containing the necessary variables. |
|
row_num |
Specify the row number as a number value. |
Returns
A string containing XML that is used by the GetAndExpandTemplate method.
Related Topics