In this example, you have a view containing two drop-down controls called Customer Drop-Down List and Product Drop-Down List. When you configure drop-down controls on a view, the system automatically creates a default rule called When the View executed Initialize, which populates the drop-down controls when the view opens. The image below shows the default Initialize rule for this example.
Default rule configuration

If one of the controls such as the Product Drop-Down List contains many records, the populate action may cause a performance impact when the view loads because the form is locked until both drop-down lists are populated with data. To improve the user experience and speed up the load time of the view, you can move the then populate Product Drop-Down List list control with data rule action to an Initialized rule which executes after the view has loaded. This allows you to populate the Customer Drop-Down List control when the view opens and make the view available for editing once the view spinner stops. When the view spinner stops and the view has loaded, the Product Drop-Down List control is populated. The images below show what the enhanced configuration looks like.
Enhanced configuration containing the Initialize and Initialized rules

Enhanced rule configuration of the Initialize event containing the populate Customer Drop-Down List control action

Enhanced rule configuration of the Initialized event containing the populate Product Drop-Down List control action

The sequence of the rule definition execution is explained below:
- The view loads (Initialize).
- The Customer Drop-Down List populates with data. The view spinner shows while populating the drop-down list. When the spinner stops, the view is available for editing and you can access the list of customers.
- After the view has loaded (Initialized) and the view spinner has stopped, the Product Drop-Down List populates with data. The control spinner shows while populating the drop-down list. When the spinner stops, you can access the list of products.
Follow the steps below to configure the rules shown above.
- Edit the view, go to the Rules tab and edit the default When the View executed Initialize rule.

- Select the then populate Product Drop-Down List list control with data action and click Remove. When the view opens, only the Customer Drop-Down List control is populated. Click OK to save the rule.

- Click Add Rule to add another rule.

- In the Events tab, click the When the View executes a method event in the View Events section, and then select Initialized as the event, as shown below.

- Select the Actions tab, click the Populate a list control with data action in the Data Transfer section, and then select the Product Drop-Down List control as shown below. Click OK to save the rule. When the view has loaded and the Customer Drop-Down List control is populated, the view is available for editing and the Product Drop-Down List control is populated.
