Hello Leandro,
I assume you logon with the user and then you use personalization to adopt the view for them
The better way is to
- check which role key is assigned to the business role
- create a specific view configuration for this business role
You can even do that in the UI by enabling Configuration Mode in your personalization:
And then use button View configuration:
Best Regards,
Sigrid