Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will use a business rule to retrieve the list of customers from the database as JSON and dynamically populate this drop down control.

  1. Click the Image Modified icon in the toolbar at the top of the Form Designer.
  2. Click  to create a new rule and the Image Modified Edit icon to open the rule.
  3. Set the Name to 'Show customers'.
  4. In the Rule text area: copy and paste the following:

...

Create a business rule

  1. Click the Image Modified icon in the toolbar at the top of the Form Designer.
  2. Click  to create a new rule and the Image Modified Edit icon to open the rule.
  3. Set the Name to 'Show orders'.
  4. In the Rule text area: copy and paste the following:


...

Create a business rule

  1. Click the the Image Modified icon in the toolbar at the top of the Form Designer.
  2. Click  to create a new rule and the Image Modified Edit icon to open the rule.
  3. Set the Name to 'Copy customer number and generate an order number'.
  4. In the Rule text area: copy and paste the following:

...

Create/Update business rules

  • Click the Image Modified icon in the toolbar at the top of the Form Designer.
  • Edit the Show Customers rule we created in Example 4. Change the name to Show Customers/Products.
  • In the Rule text area: copy and paste the following:

...