I have a number of different visitor groups created for unique content that can display on a page. Now I need the option for a visitor to view other visitor group's content by selecting a dropdown on the content page.
I'm not sure how to override the content retrieval. Can anyone point me in the right direction?
Something like this ?
This works great for the page load, but impersonating the visitor group from a dropdown isn't refreshing the content. What else am I missing?
You probably need to save the selection somewhere (session/cookie) and do a refresh and at the page load see if there's a saved value.