on 05-12-2009 7:18 AM
Dear All,
I have a requirement to Access a Portal based customised application from a WD Java appln.
Please help me .
Thanks and Regards,
Soumyadeep.
Hi Soumyadeep
From our experience we added an iframe to the application with target url of portal application.
If u want a button to open a new window u can write this at the button action:
String url = "http://colpp7n:50000/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fco.il.cc.orderScreen!2fcc.co.il.iview!2fjavadde2";
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(url, "Title",false);
window.setWindowSize(1,1);
window.open();
The url content is just an example.
Hope it helps,
Nitsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What do you mean by " Portal based customised application".
If I assume that " Portal based customised application" is PAR application, then develop iView out of it and you can access it from Web Dynpro application.
Regards,
Ganga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Biroj/Abhilasha,
I have a code which is supposed to serve the purpose of calling a portal iview when a button on the Webdynpro java application is clicked.
The Action of the button contains the following code:
WDPortalNavigation.navigateAbsolute("ROLES://portal_content/com.essar.self_service/com.essar.com.customized/com.essar.mss.mss/com.essar.mss.iview_mss/com.essar.leaveapproval", WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
*(String) null, *
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
"Name=Agreement");
But there is no action happening on the button being clicked and the action being associated with the button whereas the message with the code appears saying that the code is executed.
Regards,
Soumyadeep.
Hello Soumyadeep,
The procedure that you are using for calling the portal application is correct.
But if nothing is happening on click of the button then i think you are not running the application in the portal. You are running it as an independent web dynpro application.
If you run your application as an iview in the portal only then you can use this navigateabsolute method.
So run your application as an iview and try to navigate from there only then it will be able to fetch the url from the PCD.
otherwise get the url of that application and create a nonmodal exteranl window and give it the url of the
application.
So to use the code that you have written here you have to upload this application to the portal and then you can call that particular iview when it is called from the portal.
Hope it is clear.
Please let me know if you still have an issue.
Thanks
Sarbjeet Singh
Hi Soumydeep,
As Sarbjeet told, You have to create an iView for the WD application in portal. Becuse the OBN navigates to the PCD path of the portal iView.
Otherwise you can always create a create a nonmodal exteranl window and give it the url of the deployed WD application.
Regards,
Biroj Patro.
Hi,
Please refer this may this help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.