Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...


This exercise is based around a parcel delivery service Apollo Parcels. When parcels cannot be delivered, customers can request redelivery on a certain date, and give a target redelivery time.

Anchor
_Toc402702635
_Toc402702635
Anchor
_Toc442889166
_Toc442889166
Action to open another dashboard – filtered for selected row

By the end of this section you will be able to:

...

  • Open the view Apollo Delivery Slots from the Stream Apollo Delivery Slots (to see the data)
  • Add a filter:
    • Name: for Customer Details
    • Conditions:
      • Where ALL the following are true
      • DeliveryZone equals _context.DeliveryZone
        • Press the ABC button - this will now say fx
      • DeliverySlotDate equals _context.RedeliveryDate
        • Press the ABC button - this will now say fx
    • Press 
    • All records in the view will disappear – this is because there is currently no context set
  • Make this the default filter for the view:
    • Open the configuration form for the view – remember that you can do this by right-clicking on any data record and selecting Show View (you will have to remove the filter you just added to do this)
    • Go to the Advanced tab
    • Set Default Filter to: for Customer Details
    • Press 

...

  • Open the dashboard Apollo Manage Redeliveries
  • Select a record with status REQ REDELIVERY and press the Review Redelivery Slots button
  • The delivery slots dashboard will appear, with entries filtered for the selected customer's details

Anchor
_Toc402702636
_Toc402702636
Anchor
_Toc442889167
_Toc442889167
Validating actions

In this exercise you will add a validation step to the action you created in the previous exercise. There is no point in reviewing delivery slots for deliveries that have already been completed. So you will validate, when the user runs the action to show delivery slots, that the record is a redelivery request:

...

  • Press 
  • Try running your action again – both on rows which are redelivery requests, and rows which are not - you should see the error appear when the row is not a redelivery request

Anchor
_Toc442889168
_Toc442889168
Add action to choose delivery slot

You will now add an action to the delivery slots dashboard to choose one of the suggested slots.
To start, you need to go to the Actions tab of the stream Apollo Delivery Slots. Note that you can do this from the dashboard:

...