on 03-09-2012 5:51 AM
Hi All,
I have used UI elements guide to create Download to Excel link in my application. I wrote following code in wdDoInit()
IWDResource resource = WDResourceFactory.createResource(new
byte[<number of bytes>], "<name of the file>",
WDWebResourceType.<type of the file>);
wdContext.currentUiResourceElement().setResource(resource);
But when I click on the link in the application, I am getting the downloaded file without records. However I am getting a character conversion window showing option to which unicode convertion i need to convert to display data.
Looks like I am missing some things. Please help me .
Thanks
Uday
Edited by: Uday Kumar Kanike on Mar 9, 2012 6:51 AM
Dear Uday
Please print the context node size which you using for download to Excel. Might there is no data in the context node.
Best Regards
Arun Jaiswal
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 are having blank record,
Check two point. One whether it is having data to write and second Whether you are storing it the same file?
I know this is basic ans, but still we forgets several times.
can check the codes with this thread.
Still if you are not getting, pls give bit more info about your code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you paste the code regarding the how you populate the excel data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uday,
Refer the below blog:
Hope this will be helpful to you.
Regards,
Jithin
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.