Show specific details of a specific customer

1. Reconfigure the text9 box:

Action Item:

  • Click on the text9 box.

  • Delete all the code in Value section on the far right and add this code snippet:

2. See Customer Details:

Click on the Refresh data button. On the far right navigation bar. You'll see there is a Text and an Event handlers box.

3. Action Item: Update the Text box and Event handler:

  • Replace the Text with See Customer Details

  • Click on the +Add button to add the event handler.

    • Action: Control Query

    • Query: CustomerSpend

    • Method: Trigger

Repeat: Do this step for each of these resource queries:

  • CustomersPurchases

  • RecommendationQuery

When you're done, it should look like this- see the Event handlers section:

NOTE: You can find us on the Rockset Community if you have questions or comments about the workshop.

Last updated