This was really helpful…though if you create the routing using the properties section of the App Structure it generates the code incorrectly.
If I set up a browser .goto action, choose the URL route and select the parameter from there the code it generates is:
browser1.goto(’/settings/editstaff/{{id}}/’) which doesn’t work.
Based on this thread it should generate:
browser1.goto(’/settings/editstaff/’+id+’/’)
If I type this into the code editor it works just fine.
The docs may well explain how to do it (though this was the only place I’ve managed to find it!) but it does look like there may be a bug in the code generated by the UI here?