I tried to get the tiles using the following code:-
sap.ushell.Container.getService("LaunchPage").getGroups().then(function(aGroups) { for (var i = 0; i <