on 09-17-2008 12:57 PM
Hi All,
I am getting some problem, when I am Implementing the excel eport functionality from webdynpro.
The data is exporting to excel properly but the problem is , when i am opening that excel sheet it is asking for the three options like 1) open this file as an XML list, 2)As read only work book, 3)use xml source task pane.
I dont know why it is asking for those options, when I am opening that excel sheet.
My requirement is, it should open as if we open normal excel sheet.
What could be the problem?
Any ideas.
Regards,
Bala
Hi,
The reason for that might be because you are using "Web Dynpro Binary Cache" method to implement the Export to Excel functionality.
To avoid this you can use Hssf api or Jxcel api.
Regards,
Padmalatha.K
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 reply.
I followed this PDF to implement the excel export functionality.
This is making use of JXL API only, Binay cach is there.
How can I avoid this? can you please explain in detail ?
Regards,
Bala
Hi Bala,
Try this and Check:
1. In onActionExportToExcel2003(), add this code at the end:
// Begin
IWDWindow win;
win =
wdComponentAPI.getWindowManager().createExternalWindow(
wdContext.currentContextElement().getExcelFileURL(),
wdContext.currentContextElement().getExcelFileName(),
true);
win.open();
// End
2. In exportToExcel2003() method, Comment openExcelLinkPopup();
// This method will open Popup Window
With Regards,
Laksh.
Hi,
Opening the window is not my problem.
My problem is how to remove, asking those options while opening the excel shhet.
The data is exporting to excel properly but the problem is , when i am opening that excel sheet it is asking for the three options like 1) open this file as an XML list, 2)As read only work book, 3)use xml source task pane.
I dont know why it is asking for those options, when I am opening that excel sheet.
My requirement is, it should open as if we open normal excel sheet.
Regards,
Bala
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.