How to show only one view at a time in Wizard in SAP UI5?


I will say not it is not a big out of box requirement. You can easily get it done. What you need to do is to hook up your requirement in the complete event of the wizard which gets invoked on each step completion. You just need to hide the completed view and show the next view. So you will be viewing only one view at a time.

onComplete: function(oEvent) {
                var wdStep = oEvent.getSource();
                wdStep.setVisible(false);
            }

Anil SAP Gupta
Anil SAP Gupta

SAP Expert

Updated on: 17-Feb-2020

243 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements