Before You Begin
This 10-minute tutorial shows you how to how to create an external form application object and design the external form in the Web Object Management Workbench (Web OMW).
Background
An external form is the window through which users interact with an external application such as an ADF application, a JavaScript application, a Composed EnterpriseOne Page, or a Soft Coding Reference. Prior to JD Edwards EnterpriseOne Tools Release 9.2.6, external form application development required a development client. Starting with Tools Release 9.2.6, EnterpriseOne developers can create external form applications in the Web Object Management Workbench.
What Do You Need?
Before performing the tasks in this tutorial, you must:
- Install JD Edwards EnterpriseOne with Tools Release 9.2.6 or later.
- Create your external content such as an ADF application, JavaScript application, Composed EnterpriseOne Page, or Soft Coding Reference. This tutorial uses a JavaScript application.
- Create the processing option template in the Object Management Workbench on the developer client. This is the processing option template that you will add to the external form.
Create
an External Form Application Object
- Open a web browser and sign in to EnterpriseOne on the web.
- Navigate to EnterpriseOne menus, EnterpriseOne Life Cycle Tools (GH900), Application Development (GH902), Object Management Workbench – Web (P98220W).
- In the Object Management Workbench – Web form, click Add to add the external form application object to the default project. To add the external form application object to another project, search for the project and then click Add.
- In the Create EnterpriseOne Object form, from the General Object drop-down list, select Application.
- Click OK.
- In the Add Object form, complete the following fields:
- Object Name = Enter the object name,
for example,
P1234X - Description = Enter a description for
the object, for example,
P1234X external application object.
- Product Code =
55 - Product System Code =
55
- Object Name = Enter the object name,
for example,
- Click OK.
The newly created external application object is displayed in the Project Objects tab. A red check mark is superimposed over the button in the Object Actions column, indicating that the object is checked out.
External application object
Add an
External Form
- In the Object Management Workbench – Web form, in the Project Objects tab, select the external application object that you created in the previous task and then select Design from the More Row Actions drop-down list. Alternatively, click the Object Name link.
- In the Work with External Forms form, click Add.
- In the Properties tab, from the External Application Type drop-down list, select JavaScript.
- In the External Application field, enter a
value that points to the actual external form. For this
tutorial, enter the object ID of the JavaScript external
application, for example,
E1P_1702100003JDE. - In the Data Structure tab, under Dictionary
Items, search for the AddressNumber
data item and then click the left-pointing arrow to add the
data item to the Structure Members grid.
The Structure Members grid should look like this:
External form data structure - In the Static Text tab, enter a value in the Static Text field to add static text to the form.
- Click OK.
Add a
Processing Option Data Structure
- In Work with External Forms, select the external form that you created in the previous task.
- From the Form menu, select Properties.
- In the Application Properties form, click the Visual Assist icon for the Processing Option Template to search for the processing option template.
- In the Processing Option Search and Select dialog box,
select the processing option template and then click OK.
This tutorial uses the T0001 processing option template.
The Application Properties form should look like this:
Processing option template - Click OK.
Test
the External Form
- In the Work with External Forms form, select the external form that you created in the previous step.
- From the Row menu, select Run as
Developer.
The system processes the external form content and displays the form.
- Click Cancel to return to the Work with External Forms form.
- Click Close.
Check
In the External Form Application
- In the Object Management Workbench - Web form, in the Project
Objects tab, select the external form application
object that you created in the previous tasks and then select
Check-In from the More Row Actions
drop-down list.
A confirmation dialog box is displayed.
- Click OK.
The red check mark that was superimposed on the button in the Object Actions column has been removed, indicating that the external form application object is checked in.
Creating
External Form Applications in Web Object Management Workbench