Hi Burak Özçetin,
Have you tried variants or fragments. Please refer the below links :
https://blogs.sap.com/2015/12/29/variant-management-implementation-guide-ui5/
https://blogs.sap.com/2015/05/21/use-of-fragments-in-sapui5-reusability/
Regards,
Arjun Biswas
Hi Burak Özçetin ,
Keep one view and 2 fragments.
in the controller's init method, get the user id and check if it belongs to group one or two(you could probably create a property in oData specifying the group of the suer). if it belongs to group 1, display fragment 1 else display fragment 2.
Add comment