We wish to save the state of the visualization panel so that the panel can be recreated later on. We've found your example regarding this. However in our case we have disabled dynamic layout and are only interested in saving the dropdown choices from the panels, but this data doesn't seem to be present in the panel state. How can we retrieve and set this data?
(Actually I don't understand at all how the state is supposed to work. When running the example it always prints Which of the following best describes you or your organization?
. I'd expect it to be the title of the top-most question. JSON.parse(window.localStorage.getItem('saPanelState'))
never seems to change either.)