Now, you add the navigate action to the icon. In VB Studio, you use a visual editor to
create business logic that responds to events occurring in the user interface. Each
sequence of business logic is called an action chain. In this section, we're creating an
action chain to dictate what happens when the user clicks the Edit Order icon. The
action chain defines that the user will be navigated to the Edit Orders page.
- Create an event for the added action.
- In the Properties pane of the List Item Template, click the
Events tab.
- Click +New Event and select On
'spSecondaryAction'.

This is a page template event that's automatically triggered when
users click the Edit Order icon on the Manage Orders page. You're
navigated automatically to the Actions subtab for configuring the
added secondary action.
- Add the navigate action.
- In the Actions subtab, Properties pane, ID field,
replace the default value with
EditOrderSpSecondaryActionChain.

- In the Actions palette, search for navigate.
- Drag the Navigate to Page action and drop it on
the + icon in the editor.

If you don't see the navigate action on the editor, refresh
the browser page.
- Create the Edit Order page.
- In the Properties pane, Page field, click
Create.

- On the Create Page dialog box, Page ID field,
enter edit-order.

- Select Simple Create and Edit Page Template and
click Create.
- In the Properties pane, Page field, click
Go to Page.
The Edit Order page opens in a
new tab.
- Preview your work.
- Go to the manage-orders tab and click the Page
Designer tab to see your Manage Orders page.
- Select the Live view.
-
Click an Edit Order icon.
You should navigate to the new page you just created.
