I want to implement access group switching in a Constellation application (Pega 25.1.3).
Example:
User A has two access groups:
App1: Manager (default)
App1: Customer
After login, the user lands on the Manager Portal based on the default access group. Since the user also has access to the Customer Portal, they should be able to switch between the Manager and Customer portals from the UI.
I want to display the user’s available access groups in a dropdown and allow them to switch to the selected access group.
I noticed that Constellation allows adding components such as Cards and Table layouts. What is the recommended approach to add a dropdown for this use case? Is there any out-of-the-box Constellation control/component available, or would I need to build a custom DX component? What is the best way to implement access group switching in Pega 25.1.3 Constellation?
However, we do not have any published examples on our Github for this. I know a few have tried to bring back the legacy UX of “switch access group” and have reached out to see if they can share any guidance.
As you can probably tell from the article, I am not a fan of the switching access group UX. Personally, if you wanted them to see the Customer Portal you could allow them to open that portal (as outlined in the article) OR just add those landing pages to their existing Portal.
Infinity '26
I like this latter option, “add those landing pages to your existing portal” in Infinity '26, as you can now create sub-menu’s, which would allow you to create a “Customer Portal” sub-menu, to open their landing pages.