Assign the ObjectId Variable to an Input Parameter

For editing an order, the Edit Order page needs to know the order to display on the page. You can use an input parameter to pass this information to the page. The Simple Create and Edit Page Template Pattern component creates an objectId variable to map to the input parameter.

  1. Select the variable to be used as the input parameter.
    1. In the edit-order page, click the Variables subtab.
    2. In the Variables section, select objectId.
    3. In the Properties pane, Input Parameter field, select Required.
    4. Select the Pass on URL check box.
      The edit-order window displays with the Variables tab open. The Variables tab and the objectId, Pass on URL, and Required fields are outlined in red.
  2. Set a default objectId parameter for testing.
    1. Click the Page Designer subtab.
    2. On the toolbar, click the Page Input Parameters (right-facing arrow in parentheses) icon.
      The Page Designer subtab displays with the Page Input Parameters icon (a right-facing arrow within parentheses) is outlined in red.
    3. In the Page Input Parameters dialog box, objectId field, enter 999983.
    4. Click Set Parameters.
      The Page Input Parameters window displays with 999983 entered in the objectID field.