Hello!
I am currently building a simple PowerPages application where I will have users from multiple different companies log in and send forms, or wishes in this case, of other companies they would like to meet during a trip.
I have my users in the Contact table, and every contact is connected to a company through the "Name of organization" column.
When they log in and send a form with a wish, I have a hidden text field that is prefilled with "Site visitor profile data" > "Name of organization". That way, the name of the organization that the user is connected to gets sent to my "Wishes" table.
Now, I have a list on my page that displays the records from the "Wishes" table.
The main question I have, is how can I add a default filter or view that only displays the records where "Name of organization" is the same as the name of the organization connected to the current logged in user?
I know I can get the name of the organization using {{ user.adx_organizationname }}, but I have not been able to implement that into a view or filter.
Anyone have an idea?