Creating a New Email Control

This topic describes how to create a new Email control.

To learn about Email controls, see Email Control.

To learn about WebLogic Workshop controls, see Using Controls in Business Processes.

To create a new Email control:

  1. If you are not in Design View, click the Design View tab.
  2. Click Add on the Controls tab to display a drop-down list of controls that represent the resources with which your business process can interact.
  3. Note: If the Controls tab is not visible in WebLogic Workshop, choose View —> Windows —> Data Palette from the menu bar. Instances of controls available to your project are displayed in the Controls tab.

  4. Choose Integration Controls to display the list of controls used for integrating applications.
  5. Choose Email from the list to display the Insert Control - Email dialog box.
  6. In the Step 1 pane, in the Variable name for this control field, type the variable name used to access the new Email control instance from your business process or web service. The name you enter must be a valid Java identifier.
  7. In the Step 2 pane, choose the Create a new Email control to use radio button.
  8. In the New JCX name field, type the name of your new JCX file. The .jcx filename extension is automatically appended to the name you enter.
  9. Decide whether you want to make this a control factory and select or clear the Make this a control factory that can create multiple instances at runtime check box. For more information about control factories, see Control Factories: Managing Collections of Controls.
  10. In the Step 3 pane, enter the following name and address parameters:
  11. Select the type of data contained in the message body using the body-type menu.
  12. Click Create.

If you need to specify reply information (name and address) or SMTP authentication parameters (username and password or password alias), assign values to the following optional parameters using the Property Editor:

Email Control Methods

To learn about the methods available on the Email control, see the EmailControl Interface.

Previous Document Next Document