on 09-03-2009 7:57 PM
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
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your replies guys, Let me put my question in a clear way, when i hit the below url in a browser
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
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You will need to post the code that's triggered when the link is clicked in app A.
Regards,
Satyajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi satyajit,
when i click the link its opening in the new window with below url
Thanks,
pkv
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.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.