As described in the Designing and Developing Plugins guide, there are two different ways to activate the Expanded View from the Card Face:
- Configuring a primary action button
- Using the Plugin Bridge
In your case, it sounds like you're using a configured primary action button so I'll start with that option. The Configuration for a plugin allows you to configure an External Application for the Card Face and also one for the Expanded View. It's very common to have both the Card Face and Expanded View configured to use the same External Application, but you can configure them to use different External Applications. In that case, the Expanded View would be activated from the action button and go to a different URL than the Card Face.
The other option is to use the Plugin Bridge. This provides a powerful and configurable way to control how links work for your plugin, but bear in mind that you'll have to incorporate the @jack-henry/banno-plugin-framework-bridge
JavaScript module into your specific tech stack to accomplish this.