Configure the Dynamic Form in the Simple Create and Edit Page Template Pattern Component
- Start configuring the form of the Simple Create and Edit Page Template Pattern
component.
- In the Structure view, select the Dynamic Form node in the Simple Create and Edit Page Template component.
- In the Properties pane, click the Quick Start tab.
- Click Configure as Edit Form.
- In the Configure as Edit Form window, Locate Data stop, enter orders in the filter field.
- Expand the fscmRestcontaining"orders" list and select rraOrders.
- Click Next.
- In the Select Save Data stop, verify that rraOrders is selected and click
Next.
- In the Select Rule Set stop:
- In the Label field, enter Edit Orders
Form.
After you enter the label, the ID field is populated with editOrdersForm.
-
In the Description field, enter form for editing an order.
-
Select the Enable Extensions check box.
-
Click the Select fields to display button.
-
From the Fields list, select OrderId, OrderNumber, OrderDate, OrderStatus, TotalAmount, CustomerFirstName, and CustomerLastName.
-
Click Next.
- In the Label field, enter Edit Orders
Form.
- In the Define Query stop:
- In the Sources section, expand Variables if it's not already expanded.
- Drag objectId and, in the Target section, get_rraOrders list, drop it on rraOrders_Id.
- Again, drag objectId and, in the Target section, update_rraorders list, drop it on rraOrders_Id.
- Click Finish. The Page Designer displays the fields for the object with the orderId 999983. This is the same number that you set for the page input parameters when setting a default objectId parameter previously.