Export all events when add an event #256
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
You can use the public function export("csv") method, or you can use the Export tool, which is available in every view. |
Beta Was this translation helpful? Give feedback.
-
OK, So in your script, you can do the following:
|
Beta Was this translation helpful? Give feedback.
-
Ok, thanks. If I do that, the events are donwloaded automaticaly at the creation of the calendar whitout the possibilities to choose if the file has to be saved on the server. The aim is to save the user's events elsewhere than in the browser, so that they can be reloaded the next time the user logs on. I've tried this but nothing's work : ` <script>
|
Beta Was this translation helpful? Give feedback.
-
OK, you can call the following method:
You can then iterate through the array and save the events anywhere you want. You can find all the documentation and example here: Will |
Beta Was this translation helpful? Give feedback.
-
Yes, but what I don't see how to do is launch this export action when an event is added, with this action as I understand it: |
Beta Was this translation helpful? Give feedback.
-
Right, You need to do the following:
This will do what you want. |
Beta Was this translation helpful? Give feedback.
-
I'm really sorry, but nothings happen when I add an event : ` <script>
</script>` Thank you very much for your patience. I guess I'll have to find another solution. |
Beta Was this translation helpful? Give feedback.
-
Your setting it up incorrectly when using translations, which is causing the options your passing to be ignored. Use the following:
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot !! |
Beta Was this translation helpful? Give feedback.
Your setting it up incorrectly when using translations, which is causing the options your passing to be ignored.
Use the following: