on 06-05-2009 12:21 PM
Hi Folks
I want to open Adobe interactive form in new window not in popup. This form should contain data passed from parent view.
Please help
- Mandeep Virk
Hi Mandeep
Code to open an interactive form in an an external window(NonModalExternalWindow) other that modal window.
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow("/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fZCHEP!2fZPROJECTS!2fcom.Test.ZPortfolio_APAME!2fcom.Test!2fcom.Test.ZiViews!2fcom.Test.ZTransactions!2fcom.Test.ZADocketPrintDummyApp?sap-config-mode=true","ViewName");
window.setWindowSize(250,5);
window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
window.removeWindowFeature(WDWindowFeature.MENU_BAR);
window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
window.show();
Hope this helps you...
Regards,
Saleem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How about creating a new application in your project with the Adobe Form as default view and using the Webdynpro Application URL to launch it in a new window.
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you explain your requriement clearly.
You have two views ParentView and PDFView. Two views embedded in Window1.
By default ParentView will be displayed.
Now you are navigating from ParentView to PDFView. Then ParentView will be replaced by PDFView in Window1.
So here what is ur requriement. Why do you want an seperate Window here.
If you want to open the PDFView in a popup. Just create another Window2. Ember PDFView in Window2. Now from ParentView opent Window2 as a model/external popup.
Regards,
Charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you just use InteractiveForm ui element in a new view and bind the context node accordingly,It opens in a new window rather than a pop up.
Regards
Radhika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Radhika,
This is not as simple as you explained.
I know one thing to achieve this functionality that i need to pass a URL to open new window in browser.
Here in my case that url should be generated using pdf resource. That is my requirement.
How to obtain this url. I require some code snippet for same.
- Mandeep Virk
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.