# Saving data from Saola Animate

**URL:** <https://talk.atomisystems.com/t/saving-data-from-saola-animate/2657>\
**Category:** Support Questions\
**Created:** [January 6, 2020, 3:09pm UTC](https://talk.atomisystems.com/t/saving-data-from-saola-animate/2657 "2020-01-06T15:09:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pim](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/p/43a26b/32.png) [@Pim](https://talk.atomisystems.com/u/Pim)\
**Post date:** [January 6, 2020, 3:09pm UTC](https://talk.atomisystems.com/t/saving-data-from-saola-animate/2657/1 "2020-01-06T15:09:25Z")

</div>

As I understood it, javascript itself can not save data on a harddisc or a server. But would it in some other way be possible in Saola Animate to write data to, for example, a database, an XML or an Excel document?

Thanks!

---

<div class="post-metadata">

**Author:** ![ToanLS](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/t/46a35a/32.png) [@ToanLS](https://talk.atomisystems.com/u/ToanLS)\
**Post date:** [January 7, 2020, 1:48am UTC](https://talk.atomisystems.com/t/saving-data-from-saola-animate/2657/2 "2020-01-07T01:48:36Z")

</div>

Hi Pim,

You need JavaScript to send data to a server (e.g. by using [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)) , and the script on the server to process the data.  
If you don’t have a server, you can create a Google web app as guided in this tutorial: [https://atomisystems.com/elearning/send-quiz-report-google-sheets-email/](https://atomisystems.com/elearning/send-quiz-report-google-sheets-email/)  
It’s a tutorial for ActivePresenter but you can do the same way to handle data sent from Saola Animate.

Regards

---

<div class="post-metadata">

**Author:** ![Pim](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/p/43a26b/32.png) [@Pim](https://talk.atomisystems.com/u/Pim)\
**Post date:** [January 7, 2020, 12:38pm UTC](https://talk.atomisystems.com/t/saving-data-from-saola-animate/2657/3 "2020-01-07T12:38:44Z")

</div>

Bright and clear!  
Thanks a lot ToanLS:-)

---

<div class="post-metadata">

**Author:** ![Bill\_Mac](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/bill_mac/32/2641_2.png) [@Bill\_Mac](https://talk.atomisystems.com/u/Bill_Mac)\
**Post date:** [February 5, 2021, 1:29am UTC](https://talk.atomisystems.com/t/saving-data-from-saola-animate/2657/4 "2021-02-05T01:29:54Z")

</div>

Has anyone had success with this? I’m jumping way ahead experience wise (it is my final goal after i create the learning app for my students). I used to use Northcode and Flash for all this stuff…which are both dead now…ugh. So glad i found Saola. I just need to improve my JS coding.

I would be happy to just send data from **two** Saola text boxes to the the google spreadsheet. Update: found a video that shows how to use Google App script to do this. I also learned more about placing the data in the spreadsheet. I just don’t know how to send it there from Saola Animate. Does doGet() work?  
This is from google app script:

> function doGet(e) {
> 
> return HtmlService.createHtmlOutputFromFile(“page”);  
> }
> 
> function userClicked(name){  
> var url = “[https://docs.google.com/spreadsheets/d/1](https://docs.google.com/spreadsheets/d/1)…#gid=0”;  
> var ss = SpreadsheetApp.openByUrl(url);  
> var ws = ss.getSheetByName(“Data”);  
> ws.appendRow([name]);  
> }

**I do not expect help for this, not a support question at all**. However, if anyone is bored and could show an example of the code i would put in the Javascript editor of Saola Animate to get the data stored in textBox\_1 and TextBox\_2 (i did learn about localStorage.getItem and JSON parse too) . I think it has to be a JSON parse/stringfy. I have watched many videos and read sites. Most talk about html forms.

Thanks in advance. Again, I am not expecting anyone to reply. I should not be asking. Just taking a chance that someone might like to share. I have learned so much from ppl who reply back on so many forums like this etc. .
