on 2011 Jun 20 2:53 PM
I'm hoping someone can help me with this. I have a XML Data Connection that loads data from Asp.net (C#) code I've written. This works fine, I'm able to load the XML data form the .aspx file and display it on my dashboard. However, I really need to send some data ranges to the .aspx code as well as input. I've checked "Enable Send" along with "Enable Load" on my data connection & defined the range of data (just a few cells from a column) as input to my .aspx program. I set up a crossdomain file (even though I'm testing locally), but when ever I preview the dashboard "Enable Send" active, I always get the dreaded Error #2032
Does anyone have a sample of asp.net code (either c# or vb) that receives a data from the dashboard AND sends data back? What I'm attempting to do is to send 20 cells of input to my asp.net code, manipulate it in a simple way (say, multiply by 2) & send it back to the dashboard.
I did see the export2csv code example written in aspx/vb but I couldn't get that to work either
Thanks a million in advance!
Laura
i have the same exact request and have looked at the example you listed as well with no luck. is there a guide somewhere on how to just even send 1 single cell to an aspx script and capture that value into a variable? i can expand off that, but am having a hard time getting the basics to work first.
bump for help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Xcelsius/Dashboards will convert the range of values that you want to send into XML.
It then will POST the XML when it calls the web page.
For example, if you had created three ranges to send to your web page:
A (a single cell)
B (a single cell)
C (a row of three cells)
The data in the POST input stream for the web page will look something like this:
<data>
<variable name="A">
<row>
<column>10</column>
</row>
</variable>
<variable name="B">
<row>
<column>15</column>
</row>
</variable>
<variable name="C">
<row>
<column>1</column>
<column>2</column>
<column>3</column>
</row>
</variable>
</data>
I don't have an example for ASP, but I do for a JSP (attached).
Regards
Matt
User | Count |
---|---|
82 | |
12 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.