I have a client details insert form that works wonderfully. What I want to do though is on success to redirect to the client profile page. I have tried following the steps in this video that @Hyperbytes has provided.
Problem is I am using routing. How would I set up the redirect using routing?
Well, I am using routes and as George suggests, just pick it using the routes picker. My problem is passing the parameter value to get it to select the proper record on the detail page.
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?