I am struggling a bit with how to structure the CDF code.
What I want to do is to read some data from a Google spreadsheet & then do some operations of this data and display the result in a diagram.
The pattern I currently have is to have a Dynamic[{..}, Manipulate[ (...), Initialize-> "data = Import["URL"], SaveDefinitions-> True, Synchronous->False]
However, when this is deployed as a standalone CDF, the value of data stays the same everytime I open the CDF. Probably because of the "SaveDefinitions". But when I remove the SaveDefinitions, the data doesn't seem to be set.
I am looking for some pointers to examples with CDF:s or other sources.