We have a scenario where in we want users to navigate to a iView in a different component from a different component. Coded this using PCD path of the page to do absolute navigation which works fine in the producer portal. However while accessing the application from Consumer Portal, this opens a new window, URL of which is of the producer portal. Is there any way by we can render the content within the consumer itself. The code piece I am using is below. Appreciate all suggestions.
String navigationTarget = "ROLES://portal_content/xxx";
WDPortalNavigation.navigateAbsolute(navigationTarget, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_HISTORY, null);