Saving Excel OWC data to Web Server

J

Jon Sagara

Say that I have an Excel OWC on my Web page and I want to save any data the
user has entered to the server when s/he clicks on the submit button. Is
that possible?

Thank you,
 
S

Scott Allen

Hi Jon:

You could grab the data through the XMLData property with client side
javascript, i.e.:

var data = FormName.PivotTableName.XMLData;

Then put the data into a hidden inout and POST to the server.
 
G

Guest

But then the user could only ever saye one pivot. Users typically build
several pivot tables that they want to refer to.
It would make more sense to let them save XMLData on their machine.
 
S

Scott Allen

I agree, but it's very difficult to interact with the client machine
from a web application. There are issues of trust and permissions to
overcome in the browser and the operating system before writing and
reading to the hard disk on another computer. If this is an Intranet
app you'll have more options available since your server can be
trusted.
 
S

Scott Allen

Yes, that is along the lines of what I am thinking of. In an Intranet
app it is a lot easier to configure all the client desktops to trust
your application and let it download controls.

Instead of an ActiveX control, you might consider writing a WinForms
application or control that you can deploy to the client over through
the browser with permissions to write to their hard drive.
See:
http://msdn.microsoft.com/netframework/programming/winforms/smartclient.aspx

You might want to investigate this article too:
http://msdn.microsoft.com/msdnmag/issues/03/10/OLAP/
Build an OLAP Reporting App in ASP.NET Using SQL Server 2000 Analysis
Services and Office XP

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top