cancel
Showing results for 
Search instead for 
Did you mean: 

portal navigation between two webdynpro applications

Former Member
0 Kudos

Hi All,

I have 2 webdynpro applications A and B deployed in java stack. I created the iviews for A and B. I am running the application A using the url path and pcd of the iview which launches the application A in the browser , in this application A there is link and on clicking the link it invokes the applicationB using pcd of B. but its invoking the application in new window with all portal framework.so how can i make the application B open in same browser in which the link of application A is clicked without any portal framework.

i am running the Application A using the server and pcd like, ie i am pasting the following url in the browser

http://portalserver:50000/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2forg....

This opens the applicationA in the browser based on the pcd of the above url without any portal framework(ie without tnl, header, or portal header image) . i am good till now,this application has a link , on clicking its invoking the application B but the application B is opening in new window with with all portal framework, i want to open this in same window which application A displayed without any portal framework. How can i acheive this.I appreciate any help on this.

Thanks,

pkv.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member201361
Active Contributor
0 Kudos

Hi,

The url which u are using will open the application in a new window, instead give the location of PCD object.

Refer this article:

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d983b4-bfc2-2b10-858f-b717e194f2c1]

Thanks and Regards

Former Member
0 Kudos

Hi,

Thanks for your replies guys, Let me put my question in a clear way, when i hit the below url in a browser

http://portalserver:50000/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2forg....

its displaying the ESS application Overview page by reading the homepage configuration on backend ECC without any portal framework.So now this page has different links

which on clicking opening the new window with that application, so when i clik the link the url displayed in browser is

http://portalserver:50000/irj/portal?NavigationTarget=ROLES%3A//pcd%3Aportal_content/org.temp.fl.tem...

so i think whats happening on clik of the link is, its invoking the webdynpro iview using its pcd , which triggers the webdynpro application by passing the iview parameters like application mname, namespace, and other parameters.

but this is opening in new window with all portal framework. i want to open inside same window as the overview page without any portal framework.

so my question is there a way where i can pass some additional iview parameters saying open in same window without portal framework.

Thanks,

pkv.

Former Member
0 Kudos

Hi,

On the view of Application A, you can use LinkToUrl element. Bind an action to it with the below code.

WDPortalNavigation.navigateAbsolute("ROLES://portal_content...",WDPortalNavigationMode.SHOW_INPLACE,null,null,WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,null,null,null,null,false,false);

In the first argument of the above function, give the PCD location of the application B.

Regards

Shruti

Former Member
0 Kudos

Hi,

You will need to post the code that's triggered when the link is clicked in app A.

Regards,

Satyajit

Former Member
0 Kudos

Hi satyajit,

when i click the link its opening in the new window with below url

http://portalserver:50000/irj/portal?NavigationTarget=ROLES%3A//pcd%3Aportal_content/org.temp.fl.tem...

Thanks,

pkv

Former Member
0 Kudos

Hi,

Looks like you are using normal LinkToURL functionality instead of portal navigation. That being the case you cannot have a LinkToURL open the target URL in the same window and there's nothing we can do about that.

You can use portal navigation to get around this - firing portal navigation on click of the link with the SHOW_INPLACE mode. By the way, do you have control over the code?

Regards,

Satyajit.