I have in my component 3 users roles: admin, client, guest.
I want that template is displayed depending on user role:
so if user have ‘admin’ role, than template view path will following:
and same for other roles!
I tried to attach
render event and getting ViewModel for changing template path but when i called
returned empty string
What should i do for customize path to view template by some variable - identity role in this case?