Logic for UI Components

Logic for UI Components

  1. Select Card 1 > Select to ABC icon under Title.

  1. Select > Formula > Select Formula Bar

  1. Paste the formula below > Select Save and Save again.
Code Snippet
1
"Customer Number: " + data.Customers1[0].customerNumber

  1. Select Card 1 > Select to ABC icon under Content

  1. Select Formula > Select Formula Bar

  2. Paste the formula below and select Save

Code Snippet
1
"Customer Name: " + data.Customers1[0].name

  1. Select Card 2 > Select to ABC icon under Title

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > and Save

Code Snippet
1
data.Customers1[0].totalRewardPoints

  1. Select Card 3 > Select the ABC icon under Title

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > and Save

Code Snippet
1
data.Customers1[0].totalRedeemedRewardPoints

  1. Select Card 4 > Select the ABC icon under Title

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > and Save

Code Snippet
1
data.Customers1[0].totalPurchaseValue

  1. Save your App

  1. Go to the Page: New Purchase

  1. Select Card 1 > Select the ABC icon under Title

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > Save

Code Snippet
1
"Customer Number: " + data.Customers1[0].customerNumber

  1. Select Card 1 > Select the ABC icon under Content

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > Save

Code Snippet
1
"Customer Name: " + data.Customers1[0].name

  1. Select Card 2 > Select the ABC icon under Title

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > Save

Code Snippet
1
data.Customers1[0].totalRewardPoints

  1. Select Card 3 > Select to ABC icon under Title

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > Save

Code Snippet
1
data.Customers1[0].totalRedeemedRewardPoints

  1. Select Card 4 > Select the ABC icon under Title

  1. Select Formula > Select Formula Bar

  2. Paste the formula below > Save

Code Snippet
1
data.Customers1[0].totalPurchaseValue

  1. Save your App.