Filter objects in a View according to the user profile variable

One of the Blippa customers wanted individual Views for their partners, each view only showing objects installed by each partner.
But, since there are some one hundred partners, creating and maintaining one hundred Views sounded like tedious work…
So, we used some magic, and now the View can contain a selection.

This uses the user profile variable of the logged-in user to display objects belonging to the same company as the user.

PS: You can also use this in a Link, like https://obj.blippa.com/screen/6284a/list?filter=customer55-partner.partner-id%3Dcurrent_user.partner.partner-id